15 #pragma warning(disable:4100) // warning C4100: unreferenced formal parameter 16 #pragma warning(disable:4201) // warning C4201: nonstandard extension used : nameless struct/union 17 #pragma warning(disable:4511) // warning C4511: copy constructor could not be generated 18 #pragma warning(disable:4512) // warning C4512: assignment operator could not be generated 19 #pragma warning(disable:4514) // warning C4514: "unreferenced inline function has been removed" 22 #define AM_NOVTABLE __declspec(novtable) 47 #if _WIN32_WINNT < 0x0600 48 #define NUMELMS(aa) (sizeof(aa)/sizeof((aa)[0])) 50 #define NUMELMS(aa) ARRAYSIZE(aa) 58 #ifndef InterlockedExchangePointer 59 #define InterlockedExchangePointer(Target, Value) \ 60 (PVOID)InterlockedExchange((PLONG)(Target), (LONG)(Value)) 63 #ifndef _WAVEFORMATEXTENSIBLE_ 64 #define _WAVEFORMATEXTENSIBLE_ 76 #endif // !_WAVEFORMATEXTENSIBLE_ 78 #if !defined(WAVE_FORMAT_EXTENSIBLE) 79 #define WAVE_FORMAT_EXTENSIBLE 0xFFFE 80 #endif // !defined(WAVE_FORMAT_EXTENSIBLE) 82 #ifndef GetWindowLongPtr 83 #define GetWindowLongPtrA GetWindowLongA 84 #define GetWindowLongPtrW GetWindowLongW 86 #define GetWindowLongPtr GetWindowLongPtrW 88 #define GetWindowLongPtr GetWindowLongPtrA 90 #endif // !GetWindowLongPtr 92 #ifndef SetWindowLongPtr 93 #define SetWindowLongPtrA SetWindowLongA 94 #define SetWindowLongPtrW SetWindowLongW 96 #define SetWindowLongPtr SetWindowLongPtrW 98 #define SetWindowLongPtr SetWindowLongPtrA 100 #endif // !SetWindowLongPtr 103 #define GWLP_WNDPROC (-4) 105 #ifndef GWLP_HINSTANCE 106 #define GWLP_HINSTANCE (-6) 108 #ifndef GWLP_HWNDPARENT 109 #define GWLP_HWNDPARENT (-8) 111 #ifndef GWLP_USERDATA 112 #define GWLP_USERDATA (-21) 115 #define GWLP_ID (-12) 117 #ifndef DWLP_MSGRESULT 118 #define DWLP_MSGRESULT 0 121 #define DWLP_DLGPROC DWLP_MSGRESULT + sizeof(LRESULT) 124 #define DWLP_USER DWLP_DLGPROC + sizeof(DLGPROC) 128 #pragma warning(push) 129 #pragma warning(disable: 4312 4244) 192 #include <edevdefs.h> 193 #include <audevcod.h> 199 #pragma message("STREAMS.H included TWICE") 201 #endif // __STREAMS__
LONG_PTR _SetWindowLongPtr(HWND hwnd, int nIndex, T p)
T _GetWindowLongPtr(HWND hwnd, int nIndex)
struct WAVEFORMATEXTENSIBLE * PWAVEFORMATEXTENSIBLE