Remove unused functions causing annoying OLEAUT32.dll warning.

This commit is contained in:
Glenn Maynard
2003-10-04 06:35:58 +00:00
parent 7743443c4f
commit 57f406df15
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -126,7 +126,7 @@ STDMETHODIMP CBaseControlWindow::put_Caption(BSTR strCaption) {
// which ensures the interface doesn't fiddle around with getting memory. A // which ensures the interface doesn't fiddle around with getting memory. A
// BSTR is a normal C string with the length at position (-1), we use the // BSTR is a normal C string with the length at position (-1), we use the
// WriteBSTR helper function to create the caption to try and avoid OLE32 // WriteBSTR helper function to create the caption to try and avoid OLE32
/*
STDMETHODIMP CBaseControlWindow::get_Caption(BSTR *pstrCaption) { STDMETHODIMP CBaseControlWindow::get_Caption(BSTR *pstrCaption) {
CheckPointer(pstrCaption,E_POINTER); CheckPointer(pstrCaption,E_POINTER);
CheckConnected(m_pPin,VFW_E_NOT_CONNECTED); CheckConnected(m_pPin,VFW_E_NOT_CONNECTED);
@@ -143,7 +143,7 @@ STDMETHODIMP CBaseControlWindow::get_Caption(BSTR *pstrCaption) {
#endif #endif
return WriteBSTR(pstrCaption,WideCaption); return WriteBSTR(pstrCaption,WideCaption);
} }
*/
// Set the window style using GWL_EXSTYLE // Set the window style using GWL_EXSTYLE
+2 -2
View File
@@ -989,7 +989,7 @@ BOOL WINAPI CritCheckOut(const CCritSec * pcCrit) {
} }
#endif #endif
/*
STDAPI WriteBSTR(BSTR *pstrDest, LPCWSTR szSrc) { STDAPI WriteBSTR(BSTR *pstrDest, LPCWSTR szSrc) {
*pstrDest = SysAllocString(szSrc); *pstrDest = SysAllocString(szSrc);
if(!(*pstrDest)) return E_OUTOFMEMORY; if(!(*pstrDest)) return E_OUTOFMEMORY;
@@ -1002,7 +1002,7 @@ STDAPI FreeBSTR(BSTR* pstr) {
SysFreeString(*pstr); SysFreeString(*pstr);
return NOERROR; return NOERROR;
} }
*/
// Return a wide string - allocating memory for it // Return a wide string - allocating memory for it
// Returns: // Returns: