[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
|
---|
| 30 | typedef struct _D3DHAL_CALLBACKS *LPD3DHAL_CALLBACKS;
|
---|
| 31 | #define D3DHAL_CALLBACKS_DEFINED
|
---|
| 32 | #endif
|
---|
| 33 | #ifndef D3DHAL_GLOBALDRIVERDATA_DEFINED
|
---|
| 34 | typedef struct _D3DHAL_GLOBALDRIVERDATA *LPD3DHAL_GLOBALDRIVERDATA;
|
---|
| 35 | #define D3DHAL_GLOBALDRIVERDATA_DEFINED
|
---|
| 36 | #endif
|
---|
| 37 |
|
---|
| 38 | WINBOOL WINAPI DdCreateDirectDrawObject(LPDDRAWI_DIRECTDRAW_GBL pDirectDrawGlobal,HDC hdc);
|
---|
| 39 | WINBOOL 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);
|
---|
| 40 | WINBOOL WINAPI DdDeleteDirectDrawObject(LPDDRAWI_DIRECTDRAW_GBL pDirectDrawGlobal);
|
---|
| 41 | WINBOOL WINAPI DdCreateSurfaceObject(LPDDRAWI_DDRAWSURFACE_LCL pSurfaceLocal,WINBOOL bPrimarySurface);
|
---|
| 42 | WINBOOL WINAPI DdDeleteSurfaceObject(LPDDRAWI_DDRAWSURFACE_LCL pSurfaceLocal);
|
---|
| 43 | WINBOOL WINAPI DdResetVisrgn(LPDDRAWI_DDRAWSURFACE_LCL pSurfaceLocal,HWND hWnd);
|
---|
| 44 | HDC WINAPI DdGetDC(LPDDRAWI_DDRAWSURFACE_LCL pSurfaceLocal,LPPALETTEENTRY pColorTable);
|
---|
| 45 | WINBOOL WINAPI DdReleaseDC(LPDDRAWI_DDRAWSURFACE_LCL pSurfaceLocal);
|
---|
| 46 | HBITMAP WINAPI DdCreateDIBSection(HDC hdc,CONST BITMAPINFO *pbmi,UINT iUsage,VOID **ppvBits,HANDLE hSectionApp,DWORD dwOffset);
|
---|
| 47 | WINBOOL WINAPI DdReenableDirectDrawObject(LPDDRAWI_DIRECTDRAW_GBL pDirectDrawGlobal,WINBOOL *pbNewMode);
|
---|
| 48 | WINBOOL WINAPI DdAttachSurface(LPDDRAWI_DDRAWSURFACE_LCL pSurfaceFrom,LPDDRAWI_DDRAWSURFACE_LCL pSurfaceTo);
|
---|
| 49 | VOID WINAPI DdUnattachSurface(LPDDRAWI_DDRAWSURFACE_LCL pSurface,LPDDRAWI_DDRAWSURFACE_LCL pSurfaceAttached);
|
---|
| 50 | ULONG WINAPI DdQueryDisplaySettingsUniqueness(VOID);
|
---|
| 51 | HANDLE WINAPI DdGetDxHandle(LPDDRAWI_DIRECTDRAW_LCL pDDraw,LPDDRAWI_DDRAWSURFACE_LCL pSurface,WINBOOL bRelease);
|
---|
| 52 | WINBOOL WINAPI DdSetGammaRamp(LPDDRAWI_DIRECTDRAW_LCL pDDraw,HDC hdc,LPVOID lpGammaRamp);
|
---|
| 53 | DWORD WINAPI DdSwapTextureHandles(LPDDRAWI_DIRECTDRAW_LCL pDDraw,LPDDRAWI_DDRAWSURFACE_LCL pDDSLcl1,LPDDRAWI_DDRAWSURFACE_LCL pDDSLcl2);
|
---|
| 54 |
|
---|
| 55 | #endif /* _DDRAWGDI_H_ */
|
---|