[DllImport("setupapi.dll", SetLastError = true, CharSet = CharSet.Ansi)] public static extern int CM_Get_Device_IDA( uint dnDevInst, StringBuilder Buffer, int BufferLen, uint ulFlags );
Microsoft documentation: Link
Last updated 1 year ago