D:/opendownloadmanager/ODM-1.x/Include.Add/DShow/combase.cpp File Reference

#include <streams.h>

Go to the source code of this file.

Functions

HINSTANCE LoadOLEAut32 ()
template<class T>
static T ourmax (const T &a, const T &b)
 STDMETHODIMP_ (ULONG) CUnknown
STDAPI GetInterface (LPUNKNOWN pUnk, void **ppv)
BOOL WINAPI IsEqualObject (IUnknown *pFirst, IUnknown *pSecond)

Variables

HINSTANCE hlibOLEAut32
static const TCHAR szOle32Aut [] = TEXT("OleAut32.dll")


Function Documentation

STDAPI GetInterface ( LPUNKNOWN  pUnk,
void **  ppv 
)

BOOL WINAPI IsEqualObject ( IUnknown pFirst,
IUnknown pSecond 
)

Definition at line 159 of file combase.cpp.

References ASSERT, hr, HRESULT, IUnknown::QueryInterface(), and TRUE.

Referenced by CDynamicOutputPin::ChangeMediaTypeHelper().

HINSTANCE LoadOLEAut32 (  ) 

Definition at line 59 of file combase.cpp.

References hlibOLEAut32, and szOle32Aut.

Referenced by CBaseDispatch::GetTypeInfo().

template<class T>
static T ourmax ( const T &  a,
const T &  b 
) [inline, static]

Definition at line 117 of file combase.cpp.

Referenced by STDMETHODIMP_().

STDMETHODIMP_ ( ULONG   ) 

Definition at line 122 of file combase.cpp.

References ASSERT, DbgLog, LOG_MEMORY, LONG, CUnknown::m_cRef, and ourmax().


Variable Documentation

HINSTANCE hlibOLEAut32

Definition at line 39 of file combase.cpp.

Referenced by LoadOLEAut32(), and CBaseObject::~CBaseObject().

const TCHAR szOle32Aut[] = TEXT("OleAut32.dll") [static]

Definition at line 57 of file combase.cpp.

Referenced by LoadOLEAut32().


Generated on Sun May 25 00:19:57 2008 by  doxygen 1.5.6