ReactOS  0.4.14-dev-77-gd9e7c48
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 
50 typedef enum _DXEGSHDEVDATA
51 {
72 
73 /************************************************************************/
74 /* win32k.sys internal protypes for driver functions it exports */
75 /************************************************************************/
88 BOOL NTAPI DxEngSetDCOwner(HGDIOBJ hObject, DWORD OwnerMask);
89 
90 /* Prototypes for the following functions are not yet finished */
94 HDEV* NTAPI DxEngEnumerateHdev(HDEV *hdev);
96 BOOLEAN NTAPI DxEngSetDeviceGammaRamp(HDEV hPDev, PGAMMARAMP Ramp, BOOL Unuse);
99 
100 HDC NTAPI DxEngCreateMemoryDC(HDEV hDev);
101 
107 HDC NTAPI DxEngGetDesktopDC(ULONG DcType, BOOL EmptyDC, BOOL ValidatehWnd);
122 
123 
BOOLEAN NTAPI DxEngReferenceHdev(HDEV hdev)
Definition: dxeng.c:584
BOOLEAN NTAPI DxEngSetDCState(HDC hDC, DWORD SetType, DWORD Set)
Definition: dxeng.c:737
BOOLEAN NTAPI DxEngDeleteDC(HDC hdc, BOOL Force)
Definition: dxeng.c:707
BOOL NTAPI DxEngGetDeviceGammaRamp(HDEV hPDev, PGAMMARAMP Ramp)
Definition: dxeng.c:105
_In_ CLIPOBJ _In_ BRUSHOBJ _In_ LONG x1
Definition: winddi.h:3706
static HDC
Definition: imagelist.c:92
HDEV *NTAPI DxEngEnumerateHdev(HDEV *hdev)
Definition: dxeng.c:641
GLuint GLuint GLsizei GLenum type
Definition: gl.h:1545
DWORD NTAPI DxEngSelectPaletteToSurface(DWORD x1, DWORD x2)
Definition: dxeng.c:824
DWORD NTAPI DxEngGetRedirectionBitmap(DWORD x1)
Definition: dxeng.c:853
DWORD NTAPI DxEngSelectBitmap(DWORD x1, DWORD x2)
Definition: dxeng.c:761
DWORD NTAPI DxEngUploadPaletteEntryToSurface(DWORD x1, DWORD x2, DWORD x3, DWORD x4)
Definition: dxeng.c:806
enum _DXEGSHDEVDATA DXEGSHDEVDATA
BOOLEAN NTAPI DxEngUnlockDC(PDC pDC)
Definition: dxeng.c:155
static BOOL Set
Definition: pageheap.c:10
DWORD NTAPI DxEngMarkSurfaceAsDirectDraw(DWORD x1, DWORD x2)
Definition: dxeng.c:815
NTSTATUS(* NTAPI)(IN PFILE_FULL_EA_INFORMATION EaBuffer, IN ULONG EaLength, OUT PULONG ErrorOffset)
Definition: IoEaTest.cpp:117
unsigned int BOOL
Definition: ntddk_ex.h:94
DWORD NTAPI DxEngLoadImage(DWORD x1, DWORD x2)
Definition: dxeng.c:861
BOOLEAN NTAPI DxEngSetHdevData(HDEV, DXEGSHDEVDATA, DWORD_PTR)
Definition: dxeng.c:407
BOOLEAN NTAPI DxEngCleanDC(HDC hdc)
Definition: dxeng.c:717
BOOLEAN NTAPI DxEngIncDispUniq(VOID)
Definition: dxeng.c:500
HDC NTAPI DxEngCreateMemoryDC(HDEV hDev)
Definition: dxeng.c:653
unsigned char BOOLEAN
DWORD NTAPI DxEngScreenAccessCheck(VOID)
Definition: dxeng.c:661
DWORD NTAPI DxEngSpSpritesVisible(DWORD x1)
Definition: dxeng.c:888
BOOLEAN NTAPI DxEngIsHdevLockedByCurrentThread(HDEV hDev)
Definition: dxeng.c:674
BOOLEAN NTAPI DxEngLockShareSem(VOID)
Definition: dxeng.c:179
Definition: polytest.cpp:40
BOOLEAN NTAPI DxEngUnlockShareSem(VOID)
Definition: dxeng.c:202
BOOLEAN NTAPI DxEngNUIsTermSrv(VOID)
Definition: dxeng.c:598
BOOLEAN NTAPI DxEngLockHdev(HDEV hdev)
Definition: dxeng.c:526
unsigned long DWORD
Definition: ntddk_ex.h:95
BOOLEAN NTAPI DxEngUnreferenceHdev(HDEV hDev)
Definition: dxeng.c:686
DWORD NTAPI DxEngSpTearDownSprites(DWORD x1, DWORD x2, DWORD x3)
Definition: dxeng.c:870
DWORD NTAPI DxEngGetSurfaceData(DWORD x1, DWORD x2)
Definition: dxeng.c:788
HDC NTAPI DxEngGetDesktopDC(ULONG DcType, BOOL EmptyDC, BOOL ValidatehWnd)
Definition: dxeng.c:697
_DXEGSHDEVDATA
Definition: dxeng.h:50
HDC hdc
Definition: main.c:9
PDC NTAPI DxEngLockDC(HDC hDC)
Definition: dxeng.c:130
BOOLEAN NTAPI DxEngSetDeviceGammaRamp(HDEV hPDev, PGAMMARAMP Ramp, BOOL Unuse)
Definition: dxeng.c:233
BOOLEAN NTAPI DxEngUnlockHdev(HDEV hdev)
Definition: dxeng.c:563
BOOLEAN NTAPI DxEngRedrawDesktop(VOID)
Definition: dxeng.c:613
uint32_t DWORD_PTR
Definition: typedefs.h:63
DWORD_PTR NTAPI DxEngGetHdevData(HDEV, DXEGSHDEVDATA)
Definition: dxeng.c:280
DWORD NTAPI DxEngDeleteSurface(DWORD x1)
Definition: dxeng.c:779
static HDC hDC
Definition: 3dtext.c:33
ULONG NTAPI DxEngVisRgnUniq(VOID)
Definition: dxeng.c:628
DWORD NTAPI DxEngSetPaletteState(DWORD x1, DWORD x2, DWORD x3)
Definition: dxeng.c:842
_In_ CLIPOBJ _In_ BRUSHOBJ _In_ LONG _In_ LONG _In_ LONG x2
Definition: winddi.h:3706
enum _DXEGSHDEVDATA * PDXEGSHDEVDATA
DWORD NTAPI DxEngSpUnTearDownSprites(DWORD x1, DWORD x2, DWORD x3)
Definition: dxeng.c:879
DWORD_PTR NTAPI DxEngGetDCState(HDC hDC, DWORD type)
Definition: dxeng.c:450
unsigned int ULONG
Definition: retypes.h:1
DWORD NTAPI DxEngSetBitmapOwner(DWORD x1, DWORD x2)
Definition: dxeng.c:770
ULONG NTAPI DxEngDispUniq(VOID)
Definition: dxeng.c:78
DWORD NTAPI DxEngSyncPaletteTableWithDevice(DWORD x1, DWORD x2)
Definition: dxeng.c:833
_In_ HDEV hdev
Definition: winddi.h:3449
DWORD NTAPI DxEngAltLockSurface(DWORD x1)
Definition: dxeng.c:797
BOOL NTAPI DxEngSetDCOwner(HGDIOBJ hObject, DWORD OwnerMask)
Definition: dxeng.c:725
_Inout_ PVCB _In_ BOOLEAN Force
Definition: cdprocs.h:1425