D:/opendownloadmanager/ODM-1.x/Include.Add/DShow/wxutil.h File Reference

Go to the source code of this file.

Classes

class  CCritSec
class  CAutoLock
class  CAMEvent
class  CAMMsgEvent
class  CAMThread
class  CQueue< T >
class  QzCComPtr< T >

Defines

#define CritCheckIn(x)   TRUE
#define CritCheckOut(x)   TRUE
#define DbgLockTrace(pc, fT)
#define CTimeoutEvent   CAMEvent
#define DEFAULT_QUEUESIZE   2
#define wsprintfW   wsprintfWInternal
#define lstrcpyW   lstrcpyWInternal
#define lstrcpynW   lstrcpynWInternal
#define lstrcmpW   lstrcmpWInternal
#define lstrcmpiW   lstrcmpiWInternal
#define lstrlenW   lstrlenWInternal
#define WstrToInt(sz)   _wtoi(sz)
#define atoiW(sz)   _wtoi(sz)
#define atoiA(sz)   atoi(sz)
#define GetSubtypeName   GetSubtypeNameA
#define EqualPins(pPin1, pPin2)   IsEqualObject(pPin1, pPin2)
#define AmHresultFromWin32(x)   (MAKE_HRESULT(SEVERITY_ERROR, FACILITY_WIN32, x))

Functions

int WINAPIV wsprintfWInternal (LPWSTR, LPCWSTR,...)
LPWSTR WINAPI lstrcpyWInternal (LPWSTR lpString1, LPCWSTR lpString2)
LPWSTR WINAPI lstrcpynWInternal (LPWSTR lpString1, LPCWSTR lpString2, int iMaxLength)
int WINAPI lstrcmpWInternal (LPCWSTR lpString1, LPCWSTR lpString2)
int WINAPI lstrcmpiWInternal (LPCWSTR lpString1, LPCWSTR lpString2)
int WINAPI lstrlenWInternal (LPCWSTR lpString)
void *__stdcall memmoveInternal (void *, const void *, size_t)
void *__cdecl memchrInternal (const void *buf, int chr, size_t cnt)
void WINAPI IntToWstr (int i, LPWSTR wstr)
 STDAPI_ (const GUID) GetTrueColorType(const BITMAPINFOHEADER *pbmiHeader)
 STDAPI_ (WORD) GetBitCount(const GUID *pSubtype)
 STDAPI_ (CHAR *) GetSubtypeNameA(const GUID *pSubtype)
 STDAPI_ (WCHAR *) GetSubtypeNameW(const GUID *pSubtype)
 STDAPI_ (LONG) GetBitmapFormatSize(const BITMAPINFOHEADER *pHeader)
 STDAPI_ (DWORD) GetBitmapSize(const BITMAPINFOHEADER *pHeader)
 STDAPI_ (BOOL) ContainsPalette(const VIDEOINFOHEADER *pVideoInfo)
 STDAPI_ (const RGBQUAD *) GetBitmapPalette(const VIDEOINFOHEADER *pVideoInfo)
BOOL WINAPI IsEqualObject (IUnknown *pFirst, IUnknown *pSecond)
LONGLONG WINAPI llMulDiv (LONGLONG a, LONGLONG b, LONGLONG c, LONGLONG rnd)
LONGLONG WINAPI Int64x32Div32 (LONGLONG a, LONG b, LONG c, LONG rnd)
STDAPI WriteBSTR (BSTR *pstrDest, LPCWSTR szSrc)
STDAPI FreeBSTR (BSTR *pstr)
STDAPI AMGetWideString (LPCWSTR pszString, LPWSTR *ppszReturn)
DWORD WINAPI WaitDispatchingMessages (HANDLE hObject, DWORD dwWait, HWND hwnd=NULL, UINT uMsg=0, HANDLE hEvent=NULL)
HRESULT AmGetLastErrorToHResult (void)
IUnknownQzAtlComPtrAssign (IUnknown **pp, IUnknown *lp)

Variables

const DWORD bits555 [3]
const DWORD bits565 [3]
const DWORD bits888 [3]


Define Documentation

#define AmHresultFromWin32 (  )     (MAKE_HRESULT(SEVERITY_ERROR, FACILITY_WIN32, x))

#define atoiA ( sz   )     atoi(sz)

Definition at line 359 of file wxutil.h.

#define atoiW ( sz   )     _wtoi(sz)

Definition at line 358 of file wxutil.h.

#define CritCheckIn (  )     TRUE

#define CritCheckOut (  )     TRUE

#define CTimeoutEvent   CAMEvent

Definition at line 119 of file wxutil.h.

#define DbgLockTrace ( pc,
fT   ) 

Definition at line 60 of file wxutil.h.

#define DEFAULT_QUEUESIZE   2

Definition at line 201 of file wxutil.h.

Referenced by CQueue< T >::CQueue().

#define EqualPins ( pPin1,
pPin2   )     IsEqualObject(pPin1, pPin2)

Definition at line 385 of file wxutil.h.

#define GetSubtypeName   GetSubtypeNameA

Definition at line 375 of file wxutil.h.

#define lstrcmpiW   lstrcmpiWInternal

Definition at line 319 of file wxutil.h.

#define lstrcmpW   lstrcmpWInternal

#define lstrcpynW   lstrcpynWInternal

Definition at line 317 of file wxutil.h.

Referenced by CBaseFilter::QueryFilterInfo(), and CBasePin::QueryPinInfo().

#define lstrcpyW   lstrcpyWInternal

Definition at line 316 of file wxutil.h.

Referenced by CRendererInputPin::QueryId().

#define lstrlenW   lstrlenWInternal

Definition at line 320 of file wxutil.h.

Referenced by AMGetWideString(), CBasePin::CBasePin(), and CBaseFilter::JoinFilterGraph().

#define wsprintfW   wsprintfWInternal

Definition at line 315 of file wxutil.h.

Referenced by WriteInt().

#define WstrToInt ( sz   )     _wtoi(sz)

Definition at line 357 of file wxutil.h.

Referenced by CSource::FindPin().


Function Documentation

HRESULT AmGetLastErrorToHResult ( void   ) 

STDAPI AMGetWideString ( LPCWSTR  pszString,
LPWSTR ppszReturn 
)

STDAPI FreeBSTR ( BSTR pstr  ) 

Definition at line 944 of file wxutil.cpp.

References NULL, S_FALSE, and SysFreeString().

LONGLONG WINAPI Int64x32Div32 ( LONGLONG  a,
LONG  b,
LONG  c,
LONG  rnd 
)

Definition at line 742 of file wxutil.cpp.

References BOOL, EnlargedUnsignedDivide(), LONG, NULL, and _ULARGE_INTEGER::QuadPart.

void WINAPI IntToWstr ( int  i,
LPWSTR  wstr 
)

Definition at line 509 of file wxutil.cpp.

References CP_ACP.

Referenced by CSourceStream::QueryId().

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().

LONGLONG WINAPI llMulDiv ( LONGLONG  a,
LONGLONG  b,
LONGLONG  c,
LONGLONG  rnd 
)

Definition at line 589 of file wxutil.cpp.

References BOOL, EnlargedUnsignedDivide(), LONG, NULL, and _ULARGE_INTEGER::QuadPart.

Referenced by CBaseVideoRenderer::GetStdDev().

int WINAPI lstrcmpiWInternal ( LPCWSTR  lpString1,
LPCWSTR  lpString2 
)

Definition at line 408 of file wxutil.cpp.

int WINAPI lstrcmpWInternal ( LPCWSTR  lpString1,
LPCWSTR  lpString2 
)

Definition at line 392 of file wxutil.cpp.

LPWSTR WINAPI lstrcpynWInternal ( LPWSTR  lpString1,
LPCWSTR  lpString2,
int  iMaxLength 
)

Definition at line 371 of file wxutil.cpp.

References ASSERT, and LPWSTR.

LPWSTR WINAPI lstrcpyWInternal ( LPWSTR  lpString1,
LPCWSTR  lpString2 
)

Definition at line 358 of file wxutil.cpp.

References LPWSTR.

int WINAPI lstrlenWInternal ( LPCWSTR  lpString  ) 

Definition at line 430 of file wxutil.cpp.

void* __cdecl memchrInternal ( const void *  buf,
int  chr,
size_t  cnt 
) [inline]

Definition at line 326 of file wxutil.h.

References NULL.

void* __stdcall memmoveInternal ( void *  ,
const void *  ,
size_t   
)

Definition at line 537 of file wxutil.cpp.

References MEMORY_ALIGNMENT_LOG2, and MEMORY_ALIGNMENT_MASK.

IUnknown* QzAtlComPtrAssign ( IUnknown **  pp,
IUnknown lp 
)

Definition at line 1071 of file wxutil.cpp.

References NULL.

Referenced by QzCComPtr< T >::operator=().

STDAPI_ ( const RGBQUAD *   )  const

Definition at line 179 of file amvideo.cpp.

STDAPI_ ( BOOL   )  const

Definition at line 169 of file amvideo.cpp.

References FALSE, and TRUE.

STDAPI_ ( DWORD   )  const

Definition at line 30 of file amvideo.cpp.

STDAPI_ ( LONG   )  const

Definition at line 145 of file amvideo.cpp.

References ASSERT, if(), and LONG.

STDAPI_ ( WCHAR  )  const

Definition at line 125 of file amvideo.cpp.

References BitCountMap, and LocateSubtype().

STDAPI_ ( CHAR  )  const

Definition at line 130 of file amvideo.cpp.

References BitCountMap, and LocateSubtype().

STDAPI_ ( WORD   )  const

Definition at line 86 of file amvideo.cpp.

References ASSERT, BitCountMap, and TRUE.

STDAPI_ ( const   GUID  )  const

Definition at line 35 of file amvideo.cpp.

References ASSERT, bits555, bits565, and if().

DWORD WINAPI WaitDispatchingMessages ( HANDLE  hObject,
DWORD  dwWait,
HWND  hwnd = NULL,
UINT  uMsg = 0,
HANDLE  hEvent = NULL 
)

Definition at line 964 of file wxutil.cpp.

References BOOL, FALSE, NULL, and TRUE.

Referenced by CBaseWindow::DoneWithWindow(), and CBaseRenderer::GetState().

STDAPI WriteBSTR ( BSTR pstrDest,
LPCWSTR  szSrc 
)

Definition at line 937 of file wxutil.cpp.

References E_OUTOFMEMORY, and SysAllocString().

Referenced by CBaseControlWindow::get_Caption().

int WINAPIV wsprintfWInternal ( LPWSTR  ,
LPCWSTR  ,
  ... 
)

Definition at line 440 of file wxutil.cpp.

References CP_ACP, and NULL.


Variable Documentation

const DWORD bits555[3]

Definition at line 9 of file amvideo.cpp.

Referenced by CImageDisplay::GetBitMasks(), and STDAPI_().

const DWORD bits565[3]

Definition at line 10 of file amvideo.cpp.

Referenced by STDAPI_().

const DWORD bits888[3]

Definition at line 11 of file amvideo.cpp.

Referenced by CImageDisplay::GetBitMasks().


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