Esempio n. 1
0
		[DllImport("kernel32")] public static extern int ReadConsoleOutputAttribute(HANDLE hConsoleOutput, ref int lpAttribute, int nLength, Kernel_struct.COORD dwReadCoord, ref int lpNumberOfAttrsRead);
Esempio n. 2
0
		[DllImport("kernel32")] public static extern void GlobalMemoryStatus(ref Kernel_struct.MEMORYSTATUS lpBuffer);
Esempio n. 3
0
		[DllImport("user32")] public static extern int CreateDesktop(string lpszDesktop, string lpszDevice, ref Gdi_struct.DEVMODE pDevmode, int dwFlags, int dwDesiredAccess, ref Kernel_struct.SECURITY_ATTRIBUTES lpsa);
Esempio n. 4
0
		[DllImport("kernel32")] public static extern int WriteFile(HANDLE hFile, IntPtr lpBuffer, int nNumberOfBytesToWrite, ref int lpNumberOfBytesWritten, ref Kernel_struct.OVERLAPPED lpOverlapped);
Esempio n. 5
0
		[DllImport("kernel32")] public static extern void GetStartupInfo(ref Kernel_struct.STARTUPINFO lpStartupInfo);
Esempio n. 6
0
		[DllImport("kernel32")] public static extern int WaitCommEvent(HANDLE hFile, ref int lpEvtMask, ref Kernel_struct.OVERLAPPED lpOverlapped);
Esempio n. 7
0
		[DllImport("kernel32")] public static extern int WriteConsoleOutputAttribute(HANDLE hConsoleOutput, short lpAttribute, int nLength, Kernel_struct.COORD dwWriteCoord, ref int lpNumberOfAttrsWritten);
Esempio n. 8
0
		[DllImport("kernel32")] public static extern int SetConsoleCursorPosition(HANDLE hConsoleOutput, Kernel_struct.COORD dwCursorPosition);
Esempio n. 9
0
		[DllImport("kernel32")] public static extern int SetConsoleScreenBufferSize(HANDLE hConsoleOutput, Kernel_struct.COORD dwSize);
Esempio n. 10
0
		[DllImport("kernel32")] public static extern int SetCommTimeouts(HANDLE hFile, ref Kernel_struct.COMMTIMEOUTS lpCommTimeouts);
Esempio n. 11
0
		[DllImport("kernel32")] public static extern int SetConsoleCursorInfo(HANDLE hConsoleOutput, ref Kernel_struct.CONSOLE_CURSOR_INFO lpConsoleCursorInfo);
Esempio n. 12
0
		[DllImport("kernel32")] public static extern int SetCommState(HANDLE hCommDev, ref Kernel_struct.DCB lpDCB);
Esempio n. 13
0
		[DllImport("kernel32")] public static extern int SetCommConfig(HANDLE hCommDev, ref Kernel_struct.COMMCONFIG lpCC, int dwSize);
Esempio n. 14
0
		[DllImport("kernel32")] public static extern int ScrollConsoleScreenBuffer(HANDLE hConsoleOutput, ref Kernel_struct.SMALL_RECT lpScrollRectangle, ref Kernel_struct.SMALL_RECT lpClipRectangle, Kernel_struct.COORD dwDestinationOrigin, ref Kernel_struct.CHAR_INFO lpFill);
Esempio n. 15
0
		[DllImport("kernel32")] public static extern int UnlockFileEx(HANDLE hFile, int dwReserved, int nNumberOfBytesToUnlockLow, int nNumberOfBytesToUnlockHigh, ref Kernel_struct.OVERLAPPED lpOverlapped);
Esempio n. 16
0
		[DllImport("kernel32")] public static extern int SetConsoleWindowInfo(HANDLE hConsoleOutput, int bAbsolute, ref Kernel_struct.SMALL_RECT lpConsoleWindow);
Esempio n. 17
0
		[DllImport("kernel32")] public static extern int VirtualQueryEx(HANDLE hProcess, IntPtr lpAddress, ref Kernel_struct.MEMORY_BASIC_INFORMATION lpBuffer, int dwLength);
Esempio n. 18
0
		[DllImport("kernel32")] public static extern int SetDefaultCommConfig(string lpszName, ref Kernel_struct.COMMCONFIG lpCC, int dwSize);
Esempio n. 19
0
		[DllImport("kernel32")] public static extern int WriteConsoleOutput(HANDLE hConsoleOutput, ref Kernel_struct.CHAR_INFO lpBuffer, Kernel_struct.COORD dwBufferSize, Kernel_struct.COORD dwBufferCoord, ref Kernel_struct.SMALL_RECT lpWriteRegion);
Esempio n. 20
0
		[DllImport("kernel32")] public static extern int SetThreadContext(HANDLE hThread, ref Kernel_struct.CONTEXT lpContext);
Esempio n. 21
0
		[DllImport("kernel32")] public static extern int WriteConsoleOutputCharacter(HANDLE hConsoleOutput, string lpCharacter, int nLength, Kernel_struct.COORD dwWriteCoord, ref int lpNumberOfCharsWritten);
Esempio n. 22
0
		[DllImport("kernel32")] public static extern int SetTimeZoneInformation(ref Kernel_struct.TIME_ZONE_INFORMATION lpTimeZoneInformation);
Esempio n. 23
0
		[DllImport("kernel32")] public static extern int WriteFileEx(HANDLE hFile, IntPtr lpBuffer, int nNumberOfBytesToWrite, ref Kernel_struct.OVERLAPPED lpOverlapped, ref int lpCompletionRoutine);
Esempio n. 24
0
		[DllImport("kernel32")] public static extern int SystemTimeToTzSpecificLocalTime(ref Kernel_struct.TIME_ZONE_INFORMATION lpTimeZoneInformation, ref User.Struct.SYSTEMTIME lpUniversalTime, ref User.Struct.SYSTEMTIME lpLocalTime);
Esempio n. 25
0
		[DllImport("kernel32")] public static extern void GetSystemInfo(ref Kernel_struct.SYSTEM_INFO lpSystemInfo);
Esempio n. 26
0
		[DllImport("kernel32")] public static extern int TransactNamedPipe(HANDLE hNamedPipe, IntPtr lpInBuffer, int nInBufferSize, IntPtr lpOutBuffer, int nOutBufferSize, ref int lpBytesRead, ref Kernel_struct.OVERLAPPED lpOverlapped);
Esempio n. 27
0
		[DllImport("kernel32")] public static extern void LeaveCriticalSection(ref Kernel_struct.CRITICAL_SECTION lpCriticalSection);
Esempio n. 28
0
		[DllImport("kernel32")] public static extern int UnhandledExceptionFilter(ref Kernel_struct.EXCEPTION_POINTERS ExceptionInfo);
Esempio n. 29
0
		[DllImport("user32")] public static extern int SetUserObjectSecurity(HANDLE hObj, ref int pSIRequested, ref Kernel_struct.SECURITY_DESCRIPTOR pSd);
Esempio n. 30
0
		[DllImport("kernel32")] public static extern int QueryPerformanceFrequency(ref Kernel_struct.LARGE_INTEGER lpFrequency);