Ejemplo n.º 1
0
 internal static extern void GetNativeSystemInfo(ref NativeMethodsShared.SYSTEM_INFO lpSystemInfo);
Ejemplo n.º 2
0
 public static extern int CoWaitForMultipleHandles(NativeMethodsShared.COWAIT_FLAGS dwFlags, int dwTimeout, int cHandles, [MarshalAs(UnmanagedType.LPArray)] IntPtr[] pHandles, out int pdwIndex);
Ejemplo n.º 3
0
 internal static extern bool CreatePipe(out SafeFileHandle hReadPipe, out SafeFileHandle hWritePipe, NativeMethodsShared.SecurityAttributes lpPipeAttributes, int nSize);
Ejemplo n.º 4
0
 private static extern int NtQueryInformationProcess(NativeMethodsShared.SafeProcessHandle hProcess, NativeMethodsShared.PROCESSINFOCLASS pic, ref NativeMethodsShared.PROCESS_BASIC_INFORMATION pbi, int cb, ref int pSize);
Ejemplo n.º 5
0
 private static extern NativeMethodsShared.SafeProcessHandle OpenProcess(NativeMethodsShared.eDesiredAccess dwDesiredAccess, [MarshalAs(UnmanagedType.Bool)] bool bInheritHandle, int dwProcessId);
Ejemplo n.º 6
0
 internal static extern bool GetFileAttributesEx(string name, int fileInfoLevel, ref NativeMethodsShared.WIN32_FILE_ATTRIBUTE_DATA lpFileInformation);