Windows System Software -- Consulting, Training, Development -- Unique Expertise, Guaranteed Results

Sept/Oct 2019 Issue of The NT Insider available


Download PDF here: http://insider.osr.com/2019/ntinsider_2019_01.pdf

It’s a particularly BIG issue, too: 40 pages of technical goodness, ranging from WDF to Minifilters. Check it out.
Before Posting...
Please check out the Community Guidelines in the Announcements and Administration Category.

UWP & Custom Device/Driver Access

Muthu_KumarMuthu_Kumar Member Posts: 17

For some reason, FromIdAsync throws unauthorized exception (hresult->access denied) which I wasn't able to root cause so far. The device interface was accessible via C++ app and able to invoke an ioctl without any issues. The UWP is basically a slightly modified UWP sample CustomCapability. WPP driver traces shows EvtDeviceFileCreate and EvtFileClose (immediately) were called when FromIdAsync was executed. Not clear (possible due to the authorization issue) why EvtFileClose was immediately invoked. I tried deploying modified device meta and was no help. Attempted to create SCCD file with "AllowAny" but that caused deployment error. I was originally using the same SCCD that came with the sample. I only set "DeveloperModeOnly" to true.

Comments

  • Muthu_KumarMuthu_Kumar Member Posts: 17
    edited October 28

    Same issue with Toaster driver sample (modified to include custom property and loaded against some random USB device) and CustomCapability sample almost as is (just changed the device interface GUID) in developer mode (debug deployment). This was on latest insider preview OS build 19002. Any ideas?

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Upcoming OSR Seminars
Writing WDF Drivers 21 Oct 2019 OSR Seminar Space & ONLINE
Internals & Software Drivers 18 Nov 2019 Dulles, VA
Kernel Debugging 30 Mar 2020 OSR Seminar Space
Developing Minifilters 27 Apr 2020 OSR Seminar Space & ONLINE