[YAROTOWS] Reintegrate the branch. For a brighter future.
[reactos.git] / reactos / 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 BOOL
34 NTAPI
35 InitDeviceImpl();
36
37 BOOL
38 FASTCALL
39 DC_AllocDcAttr(PDC pdc);
40
41 //#define KeRosDumpStackFrames(Frames, Count) KdSystemDebugControl(TAG('R', 'o', 's', 'D'), (PVOID)Frames, Count, NULL, 0, NULL, KernelMode)
42 NTSYSAPI ULONG APIENTRY RtlWalkFrameChain(OUT PVOID *Callers, IN ULONG Count, IN ULONG Flags);
43
44 BOOL
45 NTAPI
46 PDEVOBJ_bSwitchMode(
47 PPDEVOBJ ppdev,
48 PDEVMODEW pdm);
49
50 PDEVMODEW
51 NTAPI
52 PDEVOBJ_pdmMatchDevMode(
53 PPDEVOBJ ppdev,
54 PDEVMODEW pdm);
55
56 extern PGRAPHICS_DEVICE gpPrimaryGraphicsDevice;
57 extern PGRAPHICS_DEVICE gpVgaGraphicsDevice;