using System.Runtime.InteropServices;

#pragma warning disable 0618

namespace SharpGen.VisualStudioSetup;

[Guid("c601c175-a3be-44bc-91f6-4568d230fc83")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[ComImport]
public interface ISetupPropertyStore
{
    [return: MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_BSTR)]
    string[] GetNames();

    object GetValue([MarshalAs(UnmanagedType.LPWStr), In] string pwszName);
}