Commit the stuff. Lots of changes. I'll write a proper list of changes when it's...
[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 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
45 NTSTATUS
46 NTAPI
47 RegOpenKey(
48 LPCWSTR pwszKeyName,
49 PHKEY phkey);
50
51 NTSTATUS
52 NTAPI
53 RegQueryValue(
54 IN HKEY hkey,
55 IN PCWSTR pwszValueName,
56 IN ULONG ulType,
57 OUT PVOID pvData,
58 IN OUT PULONG pcbValue);
59
60 BOOL
61 NTAPI
62 PDEVOBJ_bSwitchMode(
63 PPDEVOBJ ppdev,
64 PDEVMODEW pdm);
65
66 PDEVMODEW
67 NTAPI
68 PDEVOBJ_pdmMatchDevMode(
69 PPDEVOBJ ppdev,
70 PDEVMODEW pdm);