UMDF2 hid mini driver and RPC

I wrote a UMDF2 based hid mini driver , and is working as expected. I have to use functionality from a library which internally uses RPC. I am getting an access denied error when try using that library in UMDF driver . Is this not permitted in UMDF2 mini driver ?, any hints to solve this issue as appreciated

We strongly recommend to only use the normal io pipeline to communicate with a umdf (1 or 2) driver, not to use a sideband channel like RPC which is untested and can lead to undesirable side effects (especially since it is not coordinated with power, process or device lifetime management). Why does the library need to RPC? Is it a server or client? What process is on the other end of the RPC channel?

d

-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@gmail.com
Sent: Monday, December 2, 2013 1:07 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] UMDF2 hid mini driver and RPC

I wrote a UMDF2 based hid mini driver , and is working as expected. I have to use functionality from a library which internally uses RPC. I am getting an access denied error when try using that library in UMDF driver . Is this not permitted in UMDF2 mini driver ?, any hints to solve this issue as appreciated


NTDEV is sponsored by OSR

Visit the list at: http://www.osronline.com/showlists.cfm?list=ntdev

OSR is HIRING!! See http://www.osr.com/careers

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer

Thanks Dolan. Its a client library for a service , which expose an RPC interface. Looks like we need to change the service interface to some thing else than RPC to work with UMDF driver

…or change the security descriptor on it so that the UMDF user context (LocalService?) will be able to call it.


Maxim S. Shatskih
Microsoft MVP on File System And Storage
xxxxx@storagecraft.com
http://www.storagecraft.com

wrote in message news:xxxxx@ntdev…
> Thanks Dolan. Its a client library for a service , which expose an RPC interface. Looks like we need to change the service interface to some thing else than RPC to work with UMDF driver
>