IoGetDeviceObjectPointer和ObReferenceObjectByName得到设备对象指针
//IoGetDeviceObjectPointer得到设备对象指针UNICODE_STRING DeviceName;RtlInitUnicodeString(&DeviceName,L"\\Device\\MyDDKDeviceA");PDEVICE_OBJECT DeviceObject=NULL;PFILE_OBJECT FileObject=NULL;NTSTATUS ntS