[DllImport("setupapi.dll", SetLastError = true, CharSet = CharSet.Unicode)] public static extern bool SetupDiBuildClassInfoList( uint Flags, IntPtr ClassGuidList, uint ClassGuidListSize, ref uint RequiredSize );
Microsoft documentation: Link
Last updated 1 year ago