40 [DllImport(
"Kernel32.dll")]
43 [DllImport(
"Kernel32.dll")]
46 [DllImport(
"Kernel32.dll")]
49 [DllImport(
"Kernel32.dll")]
52 [DllImport(
"Kernel32.dll")]
55 [DllImport(
"Kernel32.dll")]
56 public static extern IntPtr MapViewOfFile(
IntPtr hFileMappingObject,
int dwDesiredAccess,
int dwFileOffsetHigh,
int dwFileOffsetLow,
int dwNumberOfBytesToMap);
58 [DllImport(
"Kernel32.dll")]
static unsafe int WaitForMultipleObjects(int nCount, IntPtr *handles, [MarshalAs(UnmanagedType.Bool)] bool bWaitAll, int dwMilliseconds)
static IntPtr CreateEvent(ref SecurityAttributes lpEventAttributes, [MarshalAs(UnmanagedType.Bool)] bool bManualReset, [MarshalAs(UnmanagedType.Bool)] bool bInitialState, IntPtr lpName)
static int CloseHandle(IntPtr hObject)
static unsafe IntPtr CreateFileMapping(IntPtr hFile, SecurityAttributes *lpFileMappingAttributes, int flProtect, int dwMaximumSizeHigh, int dwMaximumSizeLow, string lpName)
const uint STATUS_DLL_NOT_FOUND
static int SetEvent(IntPtr hEvent)
static int UnmapViewOfFile(IntPtr lpBaseAddress)
static readonly IntPtr INVALID_HANDLE_VALUE
static IntPtr MapViewOfFile(IntPtr hFileMappingObject, int dwDesiredAccess, int dwFileOffsetHigh, int dwFileOffsetLow, int dwNumberOfBytesToMap)
unsafe SecurityAttributes(bool inheritHandle)
IntPtr SecurityDescriptor
static readonly IntPtr Zero