You've already forked linux-packaging-mono
Imported Upstream version 6.4.0.137
Former-commit-id: 943baa9f16a098c33e129777827f3a9d20da00d6
This commit is contained in:
parent
e9207cf623
commit
ef583813eb
@@ -0,0 +1,46 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Microsoft.Win32
|
||||
{
|
||||
static class UnsafeNativeMethods
|
||||
{
|
||||
internal static unsafe class ManifestEtw
|
||||
{
|
||||
internal unsafe delegate void EtwEnableCallback(
|
||||
[In] ref Guid sourceId,
|
||||
[In] int isEnabled,
|
||||
[In] byte level,
|
||||
[In] long matchAnyKeywords,
|
||||
[In] long matchAllKeywords,
|
||||
[In] EVENT_FILTER_DESCRIPTOR* filterData,
|
||||
[In] void* callbackContext
|
||||
);
|
||||
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
unsafe internal struct EVENT_FILTER_DESCRIPTOR
|
||||
{
|
||||
public long Ptr;
|
||||
public int Size;
|
||||
public int Type;
|
||||
}
|
||||
|
||||
internal enum ActivityControl : uint
|
||||
{
|
||||
EVENT_ACTIVITY_CTRL_GET_ID = 1,
|
||||
EVENT_ACTIVITY_CTRL_SET_ID = 2,
|
||||
EVENT_ACTIVITY_CTRL_CREATE_ID = 3,
|
||||
EVENT_ACTIVITY_CTRL_GET_SET_ID = 4,
|
||||
EVENT_ACTIVITY_CTRL_CREATE_SET_ID = 5
|
||||
}
|
||||
|
||||
internal const int ERROR_ARITHMETIC_OVERFLOW = 534;
|
||||
internal const int ERROR_NOT_ENOUGH_MEMORY = 8;
|
||||
internal const int ERROR_MORE_DATA = 0xEA;
|
||||
|
||||
internal const int EVENT_CONTROL_CODE_DISABLE_PROVIDER = 0;
|
||||
internal const int EVENT_CONTROL_CODE_ENABLE_PROVIDER = 1;
|
||||
internal const int EVENT_CONTROL_CODE_CAPTURE_STATE = 2;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user