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

#include <streams.h>

Go to the source code of this file.

Defines

#define COINIT_DISABLE_OLE1DDE   (0x4)
#define LLtoU64(x)   (*(unsigned __int64*)(void*)(&(x)))
#define MEMORY_ALIGNMENT   4
#define MEMORY_ALIGNMENT_LOG2   2
#define MEMORY_ALIGNMENT_MASK   MEMORY_ALIGNMENT - 1

Functions

__inline ULONG WINAPI EnlargedUnsignedDivide (IN ULARGE_INTEGER Dividend, IN ULONG Divisor, IN PULONG Remainder)
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)
int WINAPIV wsprintfWInternal (LPWSTR wszOut, LPCWSTR pszFmt,...)
void WINAPI IntToWstr (int i, LPWSTR wstr)
void *__stdcall memmoveInternal (void *dst, const void *src, size_t count)
LONGLONG WINAPI llMulDiv (LONGLONG a, LONGLONG b, LONGLONG c, LONGLONG d)
LONGLONG WINAPI Int64x32Div32 (LONGLONG a, LONG b, LONG c, LONG d)
STDAPI WriteBSTR (BSTR *pstrDest, LPCWSTR szSrc)
STDAPI FreeBSTR (BSTR *pstr)
STDAPI AMGetWideString (LPCWSTR psz, LPWSTR *ppszReturn)
DWORD WINAPI WaitDispatchingMessages (HANDLE hObject, DWORD dwWait, HWND hwnd, UINT uMsg, HANDLE hEvent)
HRESULT AmGetLastErrorToHResult ()
IUnknownQzAtlComPtrAssign (IUnknown **pp, IUnknown *lp)


Define Documentation

#define COINIT_DISABLE_OLE1DDE   (0x4)

Definition at line 9 of file wxutil.cpp.

Referenced by CAMThread::CoInitializeHelper().

#define LLtoU64 (  )     (*(unsigned __int64*)(void*)(&(x)))

Definition at line 14 of file wxutil.cpp.

Referenced by EnlargedUnsignedDivide().

#define MEMORY_ALIGNMENT   4

Definition at line 533 of file wxutil.cpp.

#define MEMORY_ALIGNMENT_LOG2   2

Definition at line 534 of file wxutil.cpp.

Referenced by memmoveInternal().

#define MEMORY_ALIGNMENT_MASK   MEMORY_ALIGNMENT - 1

Definition at line 535 of file wxutil.cpp.

Referenced by memmoveInternal().


Function Documentation

HRESULT AmGetLastErrorToHResult ( void   ) 

STDAPI AMGetWideString ( LPCWSTR  psz,
LPWSTR ppszReturn 
)

__inline ULONG WINAPI EnlargedUnsignedDivide ( IN ULARGE_INTEGER  Dividend,
IN ULONG  Divisor,
IN PULONG  Remainder 
)

Definition at line 19 of file wxutil.cpp.

References LLtoU64, and NULL.

Referenced by Int64x32Div32(), and llMulDiv().

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  d 
)

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

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

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* __stdcall memmoveInternal ( void *  dst,
const void *  src,
size_t  count 
)

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

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

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  wszOut,
LPCWSTR  pszFmt,
  ... 
)

Definition at line 440 of file wxutil.cpp.

References CP_ACP, and NULL.


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