AJA NTV2 SDK  17.6.0.2675
NTV2 SDK 17.6.0.2675
wxutil.cpp File Reference
#include <streams.h>
#include <strsafe.h>
Include dependency graph for wxutil.cpp:

Go to the source code of this file.

Macros

#define STRSAFE_NO_DEPRECATE
 
#define MEMORY_ALIGNMENT   4
 
#define MEMORY_ALIGNMENT_LOG2   2
 
#define MEMORY_ALIGNMENT_MASK   MEMORY_ALIGNMENT - 1
 

Functions

void WINAPI IntToWstr (int i, __out_ecount(12) LPWSTR wstr)
 
void *__stdcall memmoveInternal (void *dst, const void *src, size_t count)
 
HRESULT AMSafeMemMoveOffset (__in_bcount(dst_size) void *dst, __in size_t dst_size, __in DWORD cb_dst_offset, __in_bcount(src_size) const void *src, __in size_t src_size, __in DWORD cb_src_offset, __in size_t count)
 
STDAPI WriteBSTR (__deref_out BSTR *pstrDest, LPCWSTR szSrc)
 
STDAPI FreeBSTR (__deref_in BSTR *pstr)
 
STDAPI AMGetWideString (LPCWSTR psz, __deref_out LPWSTR *ppszReturn)
 
DWORD WINAPI WaitDispatchingMessages (HANDLE hObject, DWORD dwWait, HWND hwnd, UINT uMsg, HANDLE hEvent)
 
HRESULT AmGetLastErrorToHResult ()
 
IUnknown * QzAtlComPtrAssign (__deref_inout_opt IUnknown **pp, __in_opt IUnknown *lp)
 
MMRESULT CompatibleTimeSetEvent (UINT uDelay, UINT uResolution, __in LPTIMECALLBACK lpTimeProc, DWORD_PTR dwUser, UINT fuEvent)
 
bool TimeKillSynchronousFlagAvailable (void)
 

Macro Definition Documentation

◆ MEMORY_ALIGNMENT

#define MEMORY_ALIGNMENT   4

Definition at line 376 of file wxutil.cpp.

◆ MEMORY_ALIGNMENT_LOG2

#define MEMORY_ALIGNMENT_LOG2   2

Definition at line 377 of file wxutil.cpp.

◆ MEMORY_ALIGNMENT_MASK

#define MEMORY_ALIGNMENT_MASK   MEMORY_ALIGNMENT - 1

Definition at line 378 of file wxutil.cpp.

◆ STRSAFE_NO_DEPRECATE

#define STRSAFE_NO_DEPRECATE

Definition at line 12 of file wxutil.cpp.

Function Documentation

◆ AmGetLastErrorToHResult()

HRESULT AmGetLastErrorToHResult ( )

Definition at line 688 of file wxutil.cpp.

◆ AMGetWideString()

STDAPI AMGetWideString ( LPCWSTR  psz,
__deref_out LPWSTR *  ppszReturn 
)

Definition at line 571 of file wxutil.cpp.

◆ AMSafeMemMoveOffset()

HRESULT AMSafeMemMoveOffset ( __in_bcount(dst_size) void *  dst,
__in size_t  dst_size,
__in DWORD  cb_dst_offset,
__in_bcount(src_size) const void *  src,
__in size_t  src_size,
__in DWORD  cb_src_offset,
__in size_t  count 
)

Definition at line 432 of file wxutil.cpp.

◆ CompatibleTimeSetEvent()

MMRESULT CompatibleTimeSetEvent ( UINT  uDelay,
UINT  uResolution,
__in LPTIMECALLBACK  lpTimeProc,
DWORD_PTR  dwUser,
UINT  fuEvent 
)

Definition at line 728 of file wxutil.cpp.

◆ FreeBSTR()

STDAPI FreeBSTR ( __deref_in BSTR *  pstr)

Definition at line 558 of file wxutil.cpp.

◆ IntToWstr()

void WINAPI IntToWstr ( int  i,
__out_ecount(12) LPWSTR  wstr 
)

Definition at line 359 of file wxutil.cpp.

◆ memmoveInternal()

void* __stdcall memmoveInternal ( void *  dst,
const void *  src,
size_t  count 
)

Definition at line 380 of file wxutil.cpp.

◆ QzAtlComPtrAssign()

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

Definition at line 701 of file wxutil.cpp.

◆ TimeKillSynchronousFlagAvailable()

bool TimeKillSynchronousFlagAvailable ( void  )

Definition at line 749 of file wxutil.cpp.

◆ WaitDispatchingMessages()

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

Definition at line 594 of file wxutil.cpp.

◆ WriteBSTR()

STDAPI WriteBSTR ( __deref_out BSTR *  pstrDest,
LPCWSTR  szSrc 
)

Definition at line 550 of file wxutil.cpp.