source: Daodan/MSYS2/mingw32/i686-w64-mingw32/include/ddrawgdi.h@ 1194

Last change on this file since 1194 was 1166, checked in by rossy, 3 years ago

Daodan: Replace MinGW build env with an up-to-date MSYS2 env

File size: 3.0 KB
RevLine 
[1166]1/**
2 * This file has no copyright assigned and is placed in the Public Domain.
3 * This file is part of the mingw-w64 runtime package.
4 * No warranty is given; refer to the file DISCLAIMER.PD within this package.
5 */
6
7#ifndef _DDRAWGDI_H_
8#define _DDRAWGDI_H_
9
10#include <ddraw.h>
11
12#define DdCreateDirectDrawObject GdiEntry1
13#define DdQueryDirectDrawObject GdiEntry2
14#define DdDeleteDirectDrawObject GdiEntry3
15#define DdCreateSurfaceObject GdiEntry4
16#define DdDeleteSurfaceObject GdiEntry5
17#define DdResetVisrgn GdiEntry6
18#define DdGetDC GdiEntry7
19#define DdReleaseDC GdiEntry8
20#define DdCreateDIBSection GdiEntry9
21#define DdReenableDirectDrawObject GdiEntry10
22#define DdAttachSurface GdiEntry11
23#define DdUnattachSurface GdiEntry12
24#define DdQueryDisplaySettingsUniqueness GdiEntry13
25#define DdGetDxHandle GdiEntry14
26#define DdSetGammaRamp GdiEntry15
27#define DdSwapTextureHandles GdiEntry16
28
29#ifndef D3DHAL_CALLBACKS_DEFINED
30typedef struct _D3DHAL_CALLBACKS *LPD3DHAL_CALLBACKS;
31#define D3DHAL_CALLBACKS_DEFINED
32#endif
33#ifndef D3DHAL_GLOBALDRIVERDATA_DEFINED
34typedef struct _D3DHAL_GLOBALDRIVERDATA *LPD3DHAL_GLOBALDRIVERDATA;
35#define D3DHAL_GLOBALDRIVERDATA_DEFINED
36#endif
37
38WINBOOL WINAPI DdCreateDirectDrawObject(LPDDRAWI_DIRECTDRAW_GBL pDirectDrawGlobal,HDC hdc);
39WINBOOL WINAPI DdQueryDirectDrawObject(LPDDRAWI_DIRECTDRAW_GBL pDirectDrawGlobal,LPDDHALINFO pHalInfo,LPDDHAL_DDCALLBACKS pDDCallbacks,LPDDHAL_DDSURFACECALLBACKS pDDSurfaceCallbacks,LPDDHAL_DDPALETTECALLBACKS pDDPaletteCallbacks,LPD3DHAL_CALLBACKS pD3dCallbacks,LPD3DHAL_GLOBALDRIVERDATA pD3dDriverData,LPDDHAL_DDEXEBUFCALLBACKS pD3dBufferCallbacks,LPDDSURFACEDESC pD3dTextureFormats,LPDWORD pdwFourCC,LPVIDMEM pvmList);
40WINBOOL WINAPI DdDeleteDirectDrawObject(LPDDRAWI_DIRECTDRAW_GBL pDirectDrawGlobal);
41WINBOOL WINAPI DdCreateSurfaceObject(LPDDRAWI_DDRAWSURFACE_LCL pSurfaceLocal,WINBOOL bPrimarySurface);
42WINBOOL WINAPI DdDeleteSurfaceObject(LPDDRAWI_DDRAWSURFACE_LCL pSurfaceLocal);
43WINBOOL WINAPI DdResetVisrgn(LPDDRAWI_DDRAWSURFACE_LCL pSurfaceLocal,HWND hWnd);
44HDC WINAPI DdGetDC(LPDDRAWI_DDRAWSURFACE_LCL pSurfaceLocal,LPPALETTEENTRY pColorTable);
45WINBOOL WINAPI DdReleaseDC(LPDDRAWI_DDRAWSURFACE_LCL pSurfaceLocal);
46HBITMAP WINAPI DdCreateDIBSection(HDC hdc,CONST BITMAPINFO *pbmi,UINT iUsage,VOID **ppvBits,HANDLE hSectionApp,DWORD dwOffset);
47WINBOOL WINAPI DdReenableDirectDrawObject(LPDDRAWI_DIRECTDRAW_GBL pDirectDrawGlobal,WINBOOL *pbNewMode);
48WINBOOL WINAPI DdAttachSurface(LPDDRAWI_DDRAWSURFACE_LCL pSurfaceFrom,LPDDRAWI_DDRAWSURFACE_LCL pSurfaceTo);
49VOID WINAPI DdUnattachSurface(LPDDRAWI_DDRAWSURFACE_LCL pSurface,LPDDRAWI_DDRAWSURFACE_LCL pSurfaceAttached);
50ULONG WINAPI DdQueryDisplaySettingsUniqueness(VOID);
51HANDLE WINAPI DdGetDxHandle(LPDDRAWI_DIRECTDRAW_LCL pDDraw,LPDDRAWI_DDRAWSURFACE_LCL pSurface,WINBOOL bRelease);
52WINBOOL WINAPI DdSetGammaRamp(LPDDRAWI_DIRECTDRAW_LCL pDDraw,HDC hdc,LPVOID lpGammaRamp);
53DWORD WINAPI DdSwapTextureHandles(LPDDRAWI_DIRECTDRAW_LCL pDDraw,LPDDRAWI_DDRAWSURFACE_LCL pDDSLcl1,LPDDRAWI_DDRAWSURFACE_LCL pDDSLcl2);
54
55#endif /* _DDRAWGDI_H_ */
Note: See TracBrowser for help on using the repository browser.