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.
It looks like you're new here. If you want to get involved, click one of these buttons!
|Upcoming OSR Seminars|
|OSR has suspended in-person seminars due to the Covid-19 outbreak. But, don't miss your training! Attend via the internet instead!||Kernel Debugging||30 Mar 2020||OSR Seminar Space|
|Developing Minifilters||20 Apr 2020||LIVE ONLINE|
|Writing WDF Drivers||11 May 2020||LIVE ONLINE|
|Internals & Software Drivers||28 Sept 2020||Dulles, VA|