Remove unused functions causing annoying OLEAUT32.dll warning.
This commit is contained in:
@@ -126,7 +126,7 @@ STDMETHODIMP CBaseControlWindow::put_Caption(BSTR strCaption) {
|
||||
// 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
|
||||
// WriteBSTR helper function to create the caption to try and avoid OLE32
|
||||
|
||||
/*
|
||||
STDMETHODIMP CBaseControlWindow::get_Caption(BSTR *pstrCaption) {
|
||||
CheckPointer(pstrCaption,E_POINTER);
|
||||
CheckConnected(m_pPin,VFW_E_NOT_CONNECTED);
|
||||
@@ -143,7 +143,7 @@ STDMETHODIMP CBaseControlWindow::get_Caption(BSTR *pstrCaption) {
|
||||
#endif
|
||||
return WriteBSTR(pstrCaption,WideCaption);
|
||||
}
|
||||
|
||||
*/
|
||||
|
||||
// Set the window style using GWL_EXSTYLE
|
||||
|
||||
|
||||
@@ -989,7 +989,7 @@ BOOL WINAPI CritCheckOut(const CCritSec * pcCrit) {
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
/*
|
||||
STDAPI WriteBSTR(BSTR *pstrDest, LPCWSTR szSrc) {
|
||||
*pstrDest = SysAllocString(szSrc);
|
||||
if(!(*pstrDest)) return E_OUTOFMEMORY;
|
||||
@@ -1002,7 +1002,7 @@ STDAPI FreeBSTR(BSTR* pstr) {
|
||||
SysFreeString(*pstr);
|
||||
return NOERROR;
|
||||
}
|
||||
|
||||
*/
|
||||
|
||||
// Return a wide string - allocating memory for it
|
||||
// Returns:
|
||||
|
||||
Reference in New Issue
Block a user