驱动开发 // Fill in the appropriate dispatch handlers pDriverObject->DriverExtension->AddDevice = AddDevice; pDriverObject->DriverUnload = DriverUnload; pDriverObject->MajorFunction[IRP_MJ_CREATE] = DispatchCreate; pDriverObject->MajorFunction[IRP