2010-02-26 11:43:19 +00:00
|
|
|
#pragma once
|
2006-11-08 11:47:44 +00:00
|
|
|
|
|
|
|
#include <winddi.h>
|
|
|
|
|
2009-11-12 20:41:12 +00:00
|
|
|
typedef struct _DRIVERS
|
|
|
|
{
|
|
|
|
LIST_ENTRY ListEntry;
|
|
|
|
PVOID SectionPointer;
|
|
|
|
PVOID BaseAddress;
|
|
|
|
UNICODE_STRING DriverName;
|
|
|
|
}DRIVERS, *PDRIVERS;
|
2006-11-08 11:47:44 +00:00
|
|
|
|
2009-04-06 02:13:44 +00:00
|
|
|
BOOL DRIVER_RegisterDriver(LPCWSTR Name, PFN_DrvEnableDriver EnableDriver);
|
|
|
|
PFN_DrvEnableDriver DRIVER_FindExistingDDIDriver(LPCWSTR Name);
|
|
|
|
PFN_DrvEnableDriver DRIVER_FindDDIDriver(LPCWSTR Name);
|
2006-11-08 11:47:44 +00:00
|
|
|
PFILE_OBJECT DRIVER_FindMPDriver(ULONG DisplayNumber);
|
2007-10-19 23:21:45 +00:00
|
|
|
BOOL DRIVER_BuildDDIFunctions(PDRVENABLEDATA DED,
|
2006-11-08 11:47:44 +00:00
|
|
|
PDRIVER_FUNCTIONS DF);
|
|
|
|
BOOL DRIVER_UnregisterDriver(LPCWSTR Name);
|
|
|
|
INT DRIVER_ReferenceDriver (LPCWSTR Name);
|
|
|
|
INT DRIVER_UnreferenceDriver (LPCWSTR Name);
|