#include <cKernel.h>
Common base for the singleton driver structure. similar to _DRIVER_EXTENSION (sort of)
- Note
- static destructors don't really work in kernel mode apps. MS makes something called CDriverObject ?? see: http://www.microsoft.com/msj/archive/S35B.aspx
◆ CreateDevice()
NTSTATUS GrayKernel::CKeDriver::CreateDevice |
( |
ULONG |
uDeviceExtensionSize, |
|
|
IN PUNICODE_STRING puDeviceName |
OPTIONAL, |
|
|
IN DEVICE_TYPE |
eDeviceType, |
|
|
IN ULONG |
uDeviceCharacteristics, |
|
|
IN bool |
bExclusive, |
|
|
OUT PDEVICE_OBJECT * |
ppDeviceObject |
|
) |
| |
|
inline |
◆ get_DeviceFirst()
◆ get_DriverObject()
◆ get_RegistryPath()
CKeStringU& GrayKernel::CKeDriver::get_RegistryPath |
( |
| ) |
|
|
inline |
◆ InitDriver()
void GrayKernel::CKeDriver::InitDriver |
( |
PDRIVER_OBJECT |
pDriverObject | ) |
|
|
inline |
◆ IsDriverValid()
bool GrayKernel::CKeDriver::IsDriverValid |
( |
| ) |
const |
|
inline |
The documentation for this struct was generated from the following file: