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|
|Writing WDF Drivers||25 Feb 2019||OSR Seminar Space|
|Developing Minifilters||8 April 2019||OSR Seminar Space|