I use SetupDiGetClassDevs and SetupDiEnumDeviceInfo to find the device and then I call
DWORD RequiredSize = 0;
BOOL bReturn = SetupDiGetDeviceRegistryProperty(devInfo,
&devInfoData, SPDRP_UPPERFILTERS, NULL, NULL, 0, &RequiredSize);
The bReturn is now 0 and GetLastError returns 13 (ERROR_INVALID_DATA). I call the functions elevated. Can anybody help?
It looks like you're new here. If you want to get involved, click one of these buttons!
|Upcoming OSR Seminars|
|Developing Minifilters||29 July 2019||OSR Seminar Space|
|Writing WDF Drivers||23 Sept 2019||OSR Seminar Space|
|Kernel Debugging||21 Oct 2019||OSR Seminar Space|
|Internals & Software Drivers||18 Nov 2019||Dulles, VA|