[CMAKE]
[reactos.git] / subsystems / win32 / win32k / include / device.h
1
2 //#define _PDEVOBJ _PDEVOBJ2
3 //#define PDEVOBJ PDEVOBJ2
4 //#define PPDEVOBJ PPDEVOBJ2
5
6 //typedef struct _PDEVOBJ *PPDEVOBJ;
7
8 #define TAG_GDEV 'gdev'
9
10 VOID
11 APIENTRY
12 EngFileWrite(
13 IN PFILE_OBJECT pFileObject,
14 IN PVOID lpBuffer,
15 IN SIZE_T nLength,
16 IN PSIZE_T lpBytesWritten);
17
18 PGRAPHICS_DEVICE
19 NTAPI
20 EngpFindGraphicsDevice(
21 PUNICODE_STRING pustrDevice,
22 DWORD iDevNum,
23 DWORD dwFlags);
24
25 PGRAPHICS_DEVICE
26 NTAPI
27 EngpRegisterGraphicsDevice(
28 PUNICODE_STRING pustrDeviceName,
29 PUNICODE_STRING pustrDiplayDrivers,
30 PUNICODE_STRING pustrDescription,
31 PDEVMODEW pdmDefault);
32
33 INIT_FUNCTION
34 NTSTATUS
35 NTAPI
36 InitDeviceImpl();
37
38 BOOL
39 FASTCALL
40 DC_AllocDcAttr(PDC pdc);
41
42 //#define KeRosDumpStackFrames(Frames, Count) KdSystemDebugControl(TAG('R', 'o', 's', 'D'), (PVOID)Frames, Count, NULL, 0, NULL, KernelMode)
43 NTSYSAPI ULONG APIENTRY RtlWalkFrameChain(OUT PVOID *Callers, IN ULONG Count, IN ULONG Flags);
44
45 BOOL
46 NTAPI
47 PDEVOBJ_bSwitchMode(
48 PPDEVOBJ ppdev,
49 PDEVMODEW pdm);
50
51 PDEVMODEW
52 NTAPI
53 PDEVOBJ_pdmMatchDevMode(
54 PPDEVOBJ ppdev,
55 PDEVMODEW pdm);
56
57 extern PGRAPHICS_DEVICE gpPrimaryGraphicsDevice;
58 extern PGRAPHICS_DEVICE gpVgaGraphicsDevice;