none
IoGetDeviceObjectPointer fails with STATUS_INVALID_DEVICE_REQUEST RRS feed

  • Question

  • IoGetDeviceObjectPointer fails with Error code : 

    0xC0000010
    STATUS_INVALID_DEVICE_REQUEST

    The specified request is not a valid operation for the target device.

    On calling from NDIS Vmini to a UMDF based USB driver.

    Following is the info , i received in the PDEVICE_INTERFACE_CHANGE_NOTIFICATION struct :

    00001788 7:29:20 PM SymbolicLinkName : MaximumLength = 160
    00001789 7:29:20 PM SymbolicLinkName : Length        = 158
    00001790 7:29:20 PM SymbolicLinkName : String        = \??\USB#VID_067B&PID_2303#5&3440364a&0&2#{81bdfd84-b467-4bb3-83af-fbb2eeaf856d}



    Monday, June 10, 2013 2:12 PM

Answers

  • Did you enable the allow kernel mode clients policy in your inf and reinstall with the updated inf?

    d -- This posting is provided "AS IS" with no warranties, and confers no rights.

    • Marked as answer by Anupam Shukla Tuesday, June 11, 2013 6:34 AM
    Monday, June 10, 2013 4:27 PM
  • Thanks Doron , it worked after adding the following in the USB inf :

    UmdfKernelModeClientPolicy = AllowKernelModeClients

    UmdfFileObjectPolicy = AllowNullAndUnknownFileObjects

    • Marked as answer by Anupam Shukla Tuesday, June 11, 2013 11:40 AM
    Tuesday, June 11, 2013 6:31 AM

All replies

  • Did you enable the allow kernel mode clients policy in your inf and reinstall with the updated inf?

    d -- This posting is provided "AS IS" with no warranties, and confers no rights.

    • Marked as answer by Anupam Shukla Tuesday, June 11, 2013 6:34 AM
    Monday, June 10, 2013 4:27 PM
  • Thanks Doron , it worked after adding the following in the USB inf :

    UmdfKernelModeClientPolicy = AllowKernelModeClients

    UmdfFileObjectPolicy = AllowNullAndUnknownFileObjects

    • Marked as answer by Anupam Shukla Tuesday, June 11, 2013 11:40 AM
    Tuesday, June 11, 2013 6:31 AM