NTSTATUS DriverEntry (PDRIVER_OBJECT DriverObject, PUNICODE_STRING RegistryPath) { DriverObject->DriverExtension->AddDevice = DriverAddDevice; for (i = 0; i <= IRP_MJ_MAXIMUM_FUNCTION; ++i) { DriverObject->MajorFunction[i] = DispatchQueueIRP; } DriverObject->DriverUnload = UnloadDriver; return CreateRootDeviceObject (DriverObject); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)