Lines Matching refs:pDriverObject
46 static NTSTATUS vboxUsbDdiAddDevice(PDRIVER_OBJECT pDriverObject,
50 NTSTATUS Status = IoCreateDevice(pDriverObject,
97 static VOID vboxUsbDdiUnload(PDRIVER_OBJECT pDriverObject)
259 NTSTATUS DriverEntry(IN PDRIVER_OBJECT pDriverObject, IN PUNICODE_STRING pRegistryPath);
263 NTSTATUS DriverEntry(IN PDRIVER_OBJECT pDriverObject, IN PUNICODE_STRING pRegistryPath)
275 g_VBoxUsbGlobals.pDrvObj = pDriverObject;
277 pDriverObject->DriverExtension->AddDevice = vboxUsbDdiAddDevice;
279 pDriverObject->DriverUnload = vboxUsbDdiUnload;
281 pDriverObject->MajorFunction[IRP_MJ_CREATE] = vboxUsbDispatchCreate;
282 pDriverObject->MajorFunction[IRP_MJ_CLOSE] = vboxUsbDispatchClose;
283 pDriverObject->MajorFunction[IRP_MJ_READ] = vboxUsbDispatchRead;
284 pDriverObject->MajorFunction[IRP_MJ_WRITE] = vboxUsbDispatchWrite;
285 pDriverObject->MajorFunction[IRP_MJ_DEVICE_CONTROL] = vboxUsbDispatchDeviceControl;
286 pDriverObject->MajorFunction[IRP_MJ_CLEANUP] = vboxUsbDispatchCleanup;
287 pDriverObject->MajorFunction[IRP_MJ_POWER] = vboxUsbDispatchPower;
288 pDriverObject->MajorFunction[IRP_MJ_SYSTEM_CONTROL] = vboxUsbDispatchSystemControl;
289 pDriverObject->MajorFunction[IRP_MJ_PNP] = vboxUsbDispatchPnP;