Hello All,
I am trying to open a remote IO target from a UMDF driver. The remote IO target is a usb device with a KMDF driver.
I have registered a RemoteInterfaceNotification callback with the GUID of the remote interface. I am receiving the RemoteInterfaceArrival notification and the callback routine successfully completes CreateRemoteInterface and CreateRemoteTarget. However, after this, OpenRemoteInterface consistently fails with return value of 0x80070005. The OpenRemoteInterface call uses access settings of GENERIC_READ | GENERIC_WRITE with NULL for the optional parameters.
I have modified the security settings in the .inf file of the remote device to allow generic all access to system, admin and local service as shown, but this does not seem to help, still getting the same error.
HKR,Security,“D:P(A;;GA;;;SY)(A;;GA;;;BA)(A;;GA;;;LS)”
Any help will be greatly appreciated.
Suggestions:
- Make sure the security descriptor is applied to the target PDO as you
expected. DEVICE_OBJECT has a SecurityDescriptor field. “!sd” debugger
extension can be used to dump it.
- If the the target driver is also yours, you could check if the create IRP
ever reaches the target. You could also dump the KMDF log for the target to
see if there were any errors in create IRP processing.
wrote in message news:xxxxx@ntdev…
> Hello All,
>
> I am trying to open a remote IO target from a UMDF driver. The remote IO
> target is a usb device with a KMDF driver.
>
> I have registered a RemoteInterfaceNotification callback with the GUID of
> the remote interface. I am receiving the RemoteInterfaceArrival
> notification and the callback routine successfully completes
> CreateRemoteInterface and CreateRemoteTarget. However, after this,
> OpenRemoteInterface consistently fails with return value of 0x80070005.
> The OpenRemoteInterface call uses access settings of GENERIC_READ |
> GENERIC_WRITE with NULL for the optional parameters.
>
> I have modified the security settings in the .inf file of the remote
> device to allow generic all access to system, admin and local service as
> shown, but this does not seem to help, still getting the same error.
> HKR,Security,“D:P(A;;GA;;;SY)(A;;GA;;;BA)(A;;GA;;;LS)”
>
> Any help will be greatly appreciated.
>
>
>