[YAROTOWS] Reintegrate the branch. For a brighter future.
[reactos.git] / reactos / subsystems / win32 / win32k / include / driver.h
1 #pragma once
2
3 #include <winddi.h>
4
5 typedef struct _DRIVERS
6 {
7 LIST_ENTRY ListEntry;
8 PVOID SectionPointer;
9 PVOID BaseAddress;
10 UNICODE_STRING DriverName;
11 }DRIVERS, *PDRIVERS;
12
13 BOOL DRIVER_RegisterDriver(LPCWSTR Name, PFN_DrvEnableDriver EnableDriver);
14 PFN_DrvEnableDriver DRIVER_FindExistingDDIDriver(LPCWSTR Name);
15 PFN_DrvEnableDriver DRIVER_FindDDIDriver(LPCWSTR Name);
16 PFILE_OBJECT DRIVER_FindMPDriver(ULONG DisplayNumber);
17 BOOL DRIVER_BuildDDIFunctions(PDRVENABLEDATA DED,
18 PDRIVER_FUNCTIONS DF);
19 BOOL DRIVER_UnregisterDriver(LPCWSTR Name);
20 INT DRIVER_ReferenceDriver (LPCWSTR Name);
21 INT DRIVER_UnreferenceDriver (LPCWSTR Name);