Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corert.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/System.Private.CoreLib/src/Interop/Interop.manual.cs')
-rw-r--r--src/System.Private.CoreLib/src/Interop/Interop.manual.cs36
1 files changed, 0 insertions, 36 deletions
diff --git a/src/System.Private.CoreLib/src/Interop/Interop.manual.cs b/src/System.Private.CoreLib/src/Interop/Interop.manual.cs
index c1785e5d3..b54b15522 100644
--- a/src/System.Private.CoreLib/src/Interop/Interop.manual.cs
+++ b/src/System.Private.CoreLib/src/Interop/Interop.manual.cs
@@ -10,51 +10,18 @@ internal partial class Interop
internal enum Constants : uint
{
WaitObject0 = 0x0u,
- SOk = 0x0u,
FailFastGenerateExceptionAddress = 0x1u,
ExceptionNonContinuable = 0x1u,
- CreateMutexInitialOwner = 0x1u,
- CreateEventManualReset = 0x1u,
- MutexModifyState = 0x1u,
- CreateEventInitialSet = 0x2u,
- SemaphoreModifyState = 0x2u,
- EventModifyState = 0x2u,
DuplicateSameAccess = 0x2u,
- FileTypeChar = 0x2u,
CreateSuspended = 0x4u,
WaitAbandoned0 = 0x80u,
WaitTimeout = 0x102u,
StackSizeParamIsAReservation = 0x10000u,
- Synchronize = 0x100000u,
- MaximumAllowed = 0x02000000u,
- EFail = 0x80004005u,
- CoENotInitialized = 0x800401F0u,
WaitFailed = 0xFFFFFFFFu,
}
- // MCG doesn't currently support constants that are not uint.
internal static IntPtr InvalidHandleValue => new IntPtr(-1);
- internal enum _APTTYPE : uint
- {
- APTTYPE_STA = 0x0u,
- APTTYPE_MTA = 0x1u,
- APTTYPE_NA = 0x2u,
- APTTYPE_MAINSTA = 0x3u,
- APTTYPE_CURRENT = 0xFFFFFFFFu,
- }
-
- internal enum _APTTYPEQUALIFIER : uint
- {
- APTTYPEQUALIFIER_NONE = 0x0u,
- APTTYPEQUALIFIER_IMPLICIT_MTA = 0x1u,
- APTTYPEQUALIFIER_NA_ON_MTA = 0x2u,
- APTTYPEQUALIFIER_NA_ON_STA = 0x3u,
- APTTYPEQUALIFIER_NA_ON_IMPLICIT_MTA = 0x4u,
- APTTYPEQUALIFIER_NA_ON_MAINSTA = 0x5u,
- APTTYPEQUALIFIER_APPLICATION_STA = 0x6u,
- }
-
#pragma warning disable 649
internal unsafe struct _EXCEPTION_RECORD
{
@@ -73,9 +40,6 @@ internal partial class Interop
internal partial class mincore
{
- [DllImport("api-ms-win-core-com-l1-1-0.dll")]
- internal extern static int CoGetApartmentType(out _APTTYPE pAptType, out _APTTYPEQUALIFIER pAptQualifier);
-
[DllImport("api-ms-win-core-debug-l1-1-0.dll", EntryPoint = "IsDebuggerPresent", CharSet = CharSet.Unicode)]
internal extern static bool IsDebuggerPresent();