I have created a driver for a composite device (hardware ID with an MI_## part) based on WinUsbDriver.
The point is that "template" does not contains the [DefaultInstall] section, for that reason I can't P/Invoke InstallHinfSection function:
InstallHinfSection(NULL,NULL,TEXT("DefaultInstall 132 path-to-inf\infname.inf"),0);
I want to create the INF files and install them using the application code, before connecting the composite device for the first time.
How can I install the INF Driver without the [DefaultInstall] section from a .NET desktop application?