-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathddwrapper.h
35 lines (31 loc) · 1.32 KB
/
ddwrapper.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#pragma once
// Exported function
HRESULT WINAPI DirectDrawCreate(GUID FAR *lpGUID, LPDIRECTDRAW FAR *lplpDD, IUnknown FAR *pUnkOuter);
HRESULT WINAPI DirectDrawCreateEx(GUID FAR *lpGuid, LPVOID *lplpDD, REFIID iid,IUnknown FAR *pUnkOuter);
HRESULT WINAPI DirectDrawCreateClipper(DWORD dwFlags, LPDIRECTDRAWCLIPPER FAR *lplpDDClipper, IUnknown FAR *pUnkOuter);
HRESULT WINAPI DirectDrawEnumerateW(LPDDENUMCALLBACKW lpCallback, LPVOID lpContext);
HRESULT WINAPI DirectDrawEnumerateA(LPDDENUMCALLBACKA lpCallback, LPVOID lpContext);
HRESULT WINAPI DirectDrawEnumerateExW(LPDDENUMCALLBACKEXW lpCallback, LPVOID lpContext, DWORD dwFlags);
HRESULT WINAPI DirectDrawEnumerateExA(LPDDENUMCALLBACKEXA lpCallback, LPVOID lpContext, DWORD dwFlags);
VOID WINAPI AcquireDDThreadLock(void);
VOID WINAPI ReleaseDDThreadLock(void);
DWORD WINAPI D3DParseUnknownCommand(LPVOID lpCmd, LPVOID *lpRetCmd);
HRESULT WINAPI DllCanUnloadNow(void);
HRESULT WINAPI DllGetClassObject (const CLSID &rclsid, const IID &riid, void **ppv);
// Exported functions still missing
/*
GetSurfaceFromDC
CheckFullscreen
CompleteCreateSysmemSurface
DDGetAttachedSurfaceLcl
DDInternalLock
DDInternalUnlock
DSoundHelp
GetDDSurfaceLocal
GetOLEThunkData
RegisterSpecialCase
*/
// regular functions
void InitInstance(HANDLE hModule);
void ExitInstance(void);
void LoadOriginalDll(void);