Files
PowerShell-PowerShell/src/System.Management.Automation/engine/Interop/Windows/CoInitializeEx.cs
T

19 lines
492 B
C#

// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
#nullable enable
using System.Runtime.InteropServices;
internal static partial class Interop
{
internal static partial class Windows
{
internal const int COINIT_APARTMENTTHREADED = 0x2;
internal const int E_NOTIMPL = unchecked((int)0X80004001);
[LibraryImport("api-ms-win-core-com-l1-1-0.dll")]
internal static partial int CoInitializeEx(nint reserve, int coinit);
}
}