File size: 492 Bytes
8c763fb
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// 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);
    }
}