ReactOS 0.4.15-dev-8236-g99f0937
dxeng.h
Go to the documentation of this file.
1
2
3/************************************************************************/
4/* These functions are imported from win32k.sys by dxg.sys */
5/************************************************************************/
6#define DXENG_INDEX_Resverd0 0x00
7#define DXENG_INDEX_DxEngNUIsTermSrv 0x01
8#define DXENG_INDEX_DxEngScreenAccessCheck 0x02
9#define DXENG_INDEX_DxEngRedrawDesktop 0x03
10#define DXENG_INDEX_DxEngDispUniq 0x04
11#define DXENG_INDEX_DxEngIncDispUniq 0x05
12#define DXENG_INDEX_DxEngVisRgnUniq 0x06
13#define DXENG_INDEX_DxEngLockShareSem 0x07
14#define DXENG_INDEX_DxEngUnlockShareSem 0x08
15#define DXENG_INDEX_DxEngEnumerateHdev 0x09
16#define DXENG_INDEX_DxEngLockHdev 0x0A
17#define DXENG_INDEX_DxEngUnlockHdev 0x0B
18#define DXENG_INDEX_DxEngIsHdevLockedByCurrentThread 0x0C
19#define DXENG_INDEX_DxEngReferenceHdev 0x0D
20#define DXENG_INDEX_DxEngUnreferenceHdev 0x0E
21#define DXENG_INDEX_DxEngGetDeviceGammaRamp 0x0F
22#define DXENG_INDEX_DxEngSetDeviceGammaRamp 0x10
23#define DXENG_INDEX_DxEngSpTearDownSprites 0x11
24#define DXENG_INDEX_DxEngSpUnTearDownSprites 0x12
25#define DXENG_INDEX_DxEngSpSpritesVisible 0x13
26#define DXENG_INDEX_DxEngGetHdevData 0x14
27#define DXENG_INDEX_DxEngSetHdevData 0x15
28#define DXENG_INDEX_DxEngCreateMemoryDC 0x16
29#define DXENG_INDEX_DxEngGetDesktopDC 0x17
30#define DXENG_INDEX_DxEngDeleteDC 0x18
31#define DXENG_INDEX_DxEngCleanDC 0x19
32#define DXENG_INDEX_DxEngSetDCOwner 0x1A
33#define DXENG_INDEX_DxEngLockDC 0x1B
34#define DXENG_INDEX_DxEngUnlockDC 0x1C
35#define DXENG_INDEX_DxEngSetDCState 0x1D
36#define DXENG_INDEX_DxEngGetDCState 0x1E
37#define DXENG_INDEX_DxEngSelectBitmap 0x1F
38#define DXENG_INDEX_DxEngSetBitmapOwner 0x20
39#define DXENG_INDEX_DxEngDeleteSurface 0x21
40#define DXENG_INDEX_DxEngGetSurfaceData 0x22
41#define DXENG_INDEX_DxEngAltLockSurface 0x23
42#define DXENG_INDEX_DxEngUploadPaletteEntryToSurface 0x24
43#define DXENG_INDEX_DxEngMarkSurfaceAsDirectDraw 0x25
44#define DXENG_INDEX_DxEngSelectPaletteToSurface 0x26
45#define DXENG_INDEX_DxEngSyncPaletteTableWithDevice 0x27
46#define DXENG_INDEX_DxEngSetPaletteState 0x28
47#define DXENG_INDEX_DxEngGetRedirectionBitmap 0x29
48#define DXENG_INDEX_DxEngLoadImage 0x2A
49
50typedef enum _DXEGSHDEVDATA
51{
72
73/************************************************************************/
74/* win32k.sys internal protypes for driver functions it exports */
75/************************************************************************/
88BOOL NTAPI DxEngSetDCOwner(HGDIOBJ hObject, DWORD OwnerMask);
89
90/* Prototypes for the following functions are not yet finished */
94HDEV* NTAPI DxEngEnumerateHdev(HDEV *hdev);
96BOOLEAN NTAPI DxEngSetDeviceGammaRamp(HDEV hPDev, PGAMMARAMP Ramp, BOOL Unuse);
99
100HDC NTAPI DxEngCreateMemoryDC(HDEV hDev);
101
107HDC NTAPI DxEngGetDesktopDC(ULONG DcType, BOOL EmptyDC, BOOL ValidatehWnd);
122
123
static HDC hDC
Definition: 3dtext.c:33
unsigned char BOOLEAN
HBITMAP hbmp
_Inout_ PVCB _In_ BOOLEAN Force
Definition: cdprocs.h:1417
DWORD NTAPI DxEngUploadPaletteEntryToSurface(DWORD x1, DWORD x2, DWORD x3, DWORD x4)
Definition: dxeng.c:810
HDC NTAPI DxEngCreateMemoryDC(HDEV hDev)
Definition: dxeng.c:654
BOOLEAN NTAPI DxEngSetDCState(HDC hDC, DWORD SetType, DWORD Set)
Definition: dxeng.c:737
BOOLEAN NTAPI DxEngReferenceHdev(HDEV hdev)
Definition: dxeng.c:586
enum _DXEGSHDEVDATA DXEGSHDEVDATA
BOOLEAN NTAPI DxEngLockShareSem(VOID)
Definition: dxeng.c:179
DWORD NTAPI DxEngMarkSurfaceAsDirectDraw(DWORD x1, DWORD x2)
Definition: dxeng.c:819
_DXEGSHDEVDATA
Definition: dxeng.h:51
@ DxEGShDevData_OpenRefs
Definition: dxeng.h:66
@ DxEGShDevData_DrvFuncs
Definition: dxeng.h:57
@ DxEGShDevData_DitherFmt
Definition: dxeng.h:54
@ DxEGShDevData_FxCaps
Definition: dxeng.h:55
@ DxEGShDevData_dd_flags
Definition: dxeng.h:61
@ DxEGShDevData_Surface
Definition: dxeng.h:52
@ DxEGShDevData_eddg
Definition: dxeng.h:59
@ DxEGShDevData_display
Definition: dxeng.h:64
@ DxEGShDevData_ldev
Definition: dxeng.h:68
@ DxEGShDevData_palette
Definition: dxeng.h:67
@ DxEGShDevData_clonedev
Definition: dxeng.h:70
@ DxEGShDevData_disable
Definition: dxeng.h:62
@ DxEGShDevData_Parent
Definition: dxeng.h:65
@ DxEGShDevData_metadev
Definition: dxeng.h:63
@ DxEGShDevData_hSpooler
Definition: dxeng.h:53
@ DxEGShDevData_FxCaps2
Definition: dxeng.h:56
@ DxEGShDevData_dd_locks
Definition: dxeng.h:60
@ DxEGShDevData_dhpdev
Definition: dxeng.h:58
@ DxEGShDevData_GDev
Definition: dxeng.h:69
enum _DXEGSHDEVDATA * PDXEGSHDEVDATA
BOOLEAN NTAPI DxEngIsHdevLockedByCurrentThread(HDEV hDev)
Definition: dxeng.c:675
BOOLEAN NTAPI DxEngSetDeviceGammaRamp(HDEV hPDev, PGAMMARAMP Ramp, BOOL Unuse)
Definition: dxeng.c:233
DWORD NTAPI DxEngLoadImage(DWORD x1, DWORD x2)
Definition: dxeng.c:865
HDC NTAPI DxEngGetDesktopDC(ULONG DcType, BOOL EmptyDC, BOOL ValidatehWnd)
Definition: dxeng.c:697
DWORD NTAPI DxEngScreenAccessCheck(VOID)
Definition: dxeng.c:662
BOOLEAN NTAPI DxEngSetBitmapOwner(HBITMAP hbmp, ULONG ulOwner)
Definition: dxeng.c:771
DWORD NTAPI DxEngGetRedirectionBitmap(DWORD x1)
Definition: dxeng.c:857
BOOLEAN NTAPI DxEngNUIsTermSrv(VOID)
Definition: dxeng.c:600
HDEV *NTAPI DxEngEnumerateHdev(HDEV *hdev)
Definition: dxeng.c:642
BOOLEAN NTAPI DxEngUnlockShareSem(VOID)
Definition: dxeng.c:202
DWORD NTAPI DxEngSyncPaletteTableWithDevice(DWORD x1, DWORD x2)
Definition: dxeng.c:837
DWORD NTAPI DxEngSpSpritesVisible(DWORD x1)
Definition: dxeng.c:892
BOOLEAN NTAPI DxEngRedrawDesktop(VOID)
Definition: dxeng.c:615
BOOLEAN NTAPI DxEngUnlockHdev(HDEV hdev)
Definition: dxeng.c:566
BOOLEAN NTAPI DxEngUnlockDC(PDC pDC)
Definition: dxeng.c:155
BOOLEAN NTAPI DxEngUnreferenceHdev(HDEV hDev)
Definition: dxeng.c:686
BOOLEAN NTAPI DxEngIncDispUniq(VOID)
Definition: dxeng.c:503
DWORD NTAPI DxEngSelectPaletteToSurface(DWORD x1, DWORD x2)
Definition: dxeng.c:828
ULONG NTAPI DxEngDispUniq(VOID)
Definition: dxeng.c:80
DWORD_PTR NTAPI DxEngGetDCState(HDC hDC, DWORD type)
Definition: dxeng.c:450
DWORD NTAPI DxEngSpUnTearDownSprites(DWORD x1, DWORD x2, DWORD x3)
Definition: dxeng.c:883
BOOL NTAPI DxEngGetDeviceGammaRamp(HDEV hPDev, PGAMMARAMP Ramp)
Definition: dxeng.c:107
SURFOBJ *NTAPI DxEngAltLockSurface(HSURF hsurf)
Definition: dxeng.c:800
DWORD_PTR NTAPI DxEngGetHdevData(HDEV, DXEGSHDEVDATA)
Definition: dxeng.c:280
BOOLEAN NTAPI DxEngDeleteDC(HDC hdc, BOOL Force)
Definition: dxeng.c:707
DWORD NTAPI DxEngGetSurfaceData(DWORD x1, DWORD x2)
Definition: dxeng.c:791
DWORD NTAPI DxEngSetPaletteState(DWORD x1, DWORD x2, DWORD x3)
Definition: dxeng.c:846
PDC NTAPI DxEngLockDC(HDC hDC)
Definition: dxeng.c:131
ULONG NTAPI DxEngVisRgnUniq(VOID)
Definition: dxeng.c:629
DWORD NTAPI DxEngSpTearDownSprites(DWORD x1, DWORD x2, DWORD x3)
Definition: dxeng.c:874
BOOLEAN NTAPI DxEngLockHdev(HDEV hdev)
Definition: dxeng.c:529
HBITMAP NTAPI DxEngSelectBitmap(HDC hdc, HBITMAP hbmp)
Definition: dxeng.c:761
BOOL NTAPI DxEngSetDCOwner(HGDIOBJ hObject, DWORD OwnerMask)
Definition: dxeng.c:725
BOOLEAN NTAPI DxEngDeleteSurface(HSURF hsurf)
Definition: dxeng.c:781
BOOLEAN NTAPI DxEngSetHdevData(HDEV, DXEGSHDEVDATA, DWORD_PTR)
Definition: dxeng.c:406
BOOLEAN NTAPI DxEngCleanDC(HDC hdc)
Definition: dxeng.c:717
unsigned int BOOL
Definition: ntddk_ex.h:94
unsigned long DWORD
Definition: ntddk_ex.h:95
GLuint GLuint GLsizei GLenum type
Definition: gl.h:1545
HDC hdc
Definition: main.c:9
static HBITMAP
Definition: button.c:44
static HDC
Definition: imagelist.c:92
static BOOL Set
Definition: pageheap.c:10
Definition: polytest.cpp:41
uint32_t DWORD_PTR
Definition: typedefs.h:65
#define NTAPI
Definition: typedefs.h:36
uint32_t ULONG
Definition: typedefs.h:59
_In_ CLIPOBJ _In_ BRUSHOBJ _In_ LONG _In_ LONG _In_ LONG x2
Definition: winddi.h:3710
_In_ CLIPOBJ _In_ BRUSHOBJ _In_ LONG x1
Definition: winddi.h:3708
_In_ HDEV hdev
Definition: winddi.h:3449
typedef HSURF(APIENTRY FN_DrvEnableSurface)(_In_ DHPDEV dhpdev)