TRX/src/tr2/lib/ddraw.h
2024-10-03 10:36:35 +02:00

19 lines
634 B
C

#pragma once
#include <windows.h>
#ifdef DirectDrawCreate
#undef DirectDrawCreate
#endif
#define DirectDrawCreate \
((HRESULT(__stdcall *)( \
GUID * driver_guid, LPDIRECTDRAW * ddraw, LPUNKNOWN outer))0x00458CF4)
#ifdef DirectDrawEnumerate
#undef DirectDrawEnumerate
#endif
#define DirectDrawEnumerate \
((HRESULT(__stdcall *)( \
LPDDENUMCALLBACKA lpCallback, LPVOID lpContext))0x00458CFA)