CM_Get_Device_ID_Size

[DllImport("setupapi.dll", SetLastError = true)]
public static extern int CM_Get_Device_ID_Size(
   out int pulLen,
   uint dnDevInst,
   uint ulFlags
);

Microsoft documentation: Link

Last updated