24 lines
577 B
C#
Raw Normal View History

2024-06-07 00:47:07 +02:00
using System;
using System.Runtime.InteropServices;
namespace NAudio.CoreAudioApi.Interfaces
{
class PropVariantNative
{
#if WINDOWS_UWP
// Windows 10 requires api-ms-win-core-com-l1-1-1.dll
[DllImport("api-ms-win-core-com-l1-1-1.dll")]
#else
[DllImport("ole32.dll")]
#endif
internal static extern int PropVariantClear(ref PropVariant pvar);
#if WINDOWS_UWP
[DllImport("api-ms-win-core-com-l1-1-1.dll")]
#else
[DllImport("ole32.dll")]
#endif
internal static extern int PropVariantClear(IntPtr pvar);
}
}