Typically used to get the size of the buffer needed for a subsequent CM_Get_Device_ID call.
[DllImport("setupapi.dll", SetLastError=true)]
static extern int CM_Get_Device_ID_Size(out int pulLen, UInt32 dnDevInst, int flags = 0);
Declare Function CM_Get_Device_ID_Size Lib "setupapi.dll" (TODO) As TODO
None.
Do you know one? Please contribute it!
None.
Please add some!
Please add some!