Issue in integrating WMI sample driver to the Miniport WDI driver

Hi All,

I am working on a WDI model Windows sample driver.

Test App <==> WMI SAMPLE DRIVER <==> WDI driver.

I have validated WMI sample driver with available VB scripts and confirmed its functionality.

I wanted to remove WMI sample driver and tried to integrate WMI sample driver in NDIS WDI driver.

WMI sample uses below APIs for registration:
// 1. Initialize the Driver Config structure.
WDF_DRIVER_CONFIG_INIT(&config, WmiSampEvtDeviceAdd);

//2. Create the Framework Driver object.
WdfDriverCreate(DriverObject, RegistryPath, WDF_NO_OBJECT_ATTRIBUTES, &config, WDF_NO_HANDLE);

When Integrated “WMI sample driver source” in NDIS WDI driver, its breaking the actual functionality of WDI driver. [no scan list, BSOD issues observed]

Please share information if any way is there to implement WMI interface in NDIS WDI driver to use it for communication between test app & WDI driver through WMI interface.

thanks in advance! :smile: