[DllImport("setupapi.dll", SetLastError = true, CharSet = CharSet.Unicode)] public static extern bool SetupDiClassNameFromGuid( ref Guid ClassGuid, StringBuilder ClassName, uint ClassNameSize, ref uint RequiredSize );
Microsoft documentation: Link
Last updated 1 year ago