[DllImport("setupapi.dll", SetLastError = true, CharSet = CharSet.Unicode)] public static extern bool SetupGetStringField( IntPtr Context, uint FieldIndex, StringBuilder ReturnBuffer, uint ReturnBufferSize, out uint RequiredSize );
Microsoft documentation: Link
Last updated 1 year ago