Пример #1
0
		[DllImport("kernel32")] public static extern int ReadConsoleOutputAttribute(HANDLE hConsoleOutput, ref int lpAttribute, int nLength, Kernel_struct.COORD dwReadCoord, ref int lpNumberOfAttrsRead);
Пример #2
0
		[DllImport("kernel32")] public static extern void GlobalMemoryStatus(ref Kernel_struct.MEMORYSTATUS lpBuffer);
Пример #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);
Пример #4
0
		[DllImport("kernel32")] public static extern int WriteFile(HANDLE hFile, IntPtr lpBuffer, int nNumberOfBytesToWrite, ref int lpNumberOfBytesWritten, ref Kernel_struct.OVERLAPPED lpOverlapped);
Пример #5
0
		[DllImport("kernel32")] public static extern void GetStartupInfo(ref Kernel_struct.STARTUPINFO lpStartupInfo);
Пример #6
0
		[DllImport("kernel32")] public static extern int WaitCommEvent(HANDLE hFile, ref int lpEvtMask, ref Kernel_struct.OVERLAPPED lpOverlapped);
Пример #7
0
		[DllImport("kernel32")] public static extern int WriteConsoleOutputAttribute(HANDLE hConsoleOutput, short lpAttribute, int nLength, Kernel_struct.COORD dwWriteCoord, ref int lpNumberOfAttrsWritten);
Пример #8
0
		[DllImport("kernel32")] public static extern int SetConsoleCursorPosition(HANDLE hConsoleOutput, Kernel_struct.COORD dwCursorPosition);
Пример #9
0
		[DllImport("kernel32")] public static extern int SetConsoleScreenBufferSize(HANDLE hConsoleOutput, Kernel_struct.COORD dwSize);
Пример #10
0
		[DllImport("kernel32")] public static extern int SetCommTimeouts(HANDLE hFile, ref Kernel_struct.COMMTIMEOUTS lpCommTimeouts);
Пример #11
0
		[DllImport("kernel32")] public static extern int SetConsoleCursorInfo(HANDLE hConsoleOutput, ref Kernel_struct.CONSOLE_CURSOR_INFO lpConsoleCursorInfo);
Пример #12
0
		[DllImport("kernel32")] public static extern int SetCommState(HANDLE hCommDev, ref Kernel_struct.DCB lpDCB);
Пример #13
0
		[DllImport("kernel32")] public static extern int SetCommConfig(HANDLE hCommDev, ref Kernel_struct.COMMCONFIG lpCC, int dwSize);
Пример #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);
Пример #15
0
		[DllImport("kernel32")] public static extern int UnlockFileEx(HANDLE hFile, int dwReserved, int nNumberOfBytesToUnlockLow, int nNumberOfBytesToUnlockHigh, ref Kernel_struct.OVERLAPPED lpOverlapped);
Пример #16
0
		[DllImport("kernel32")] public static extern int SetConsoleWindowInfo(HANDLE hConsoleOutput, int bAbsolute, ref Kernel_struct.SMALL_RECT lpConsoleWindow);
Пример #17
0
		[DllImport("kernel32")] public static extern int VirtualQueryEx(HANDLE hProcess, IntPtr lpAddress, ref Kernel_struct.MEMORY_BASIC_INFORMATION lpBuffer, int dwLength);
Пример #18
0
		[DllImport("kernel32")] public static extern int SetDefaultCommConfig(string lpszName, ref Kernel_struct.COMMCONFIG lpCC, int dwSize);
Пример #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);
Пример #20
0
		[DllImport("kernel32")] public static extern int SetThreadContext(HANDLE hThread, ref Kernel_struct.CONTEXT lpContext);
Пример #21
0
		[DllImport("kernel32")] public static extern int WriteConsoleOutputCharacter(HANDLE hConsoleOutput, string lpCharacter, int nLength, Kernel_struct.COORD dwWriteCoord, ref int lpNumberOfCharsWritten);
Пример #22
0
		[DllImport("kernel32")] public static extern int SetTimeZoneInformation(ref Kernel_struct.TIME_ZONE_INFORMATION lpTimeZoneInformation);
Пример #23
0
		[DllImport("kernel32")] public static extern int WriteFileEx(HANDLE hFile, IntPtr lpBuffer, int nNumberOfBytesToWrite, ref Kernel_struct.OVERLAPPED lpOverlapped, ref int lpCompletionRoutine);
Пример #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);
Пример #25
0
		[DllImport("kernel32")] public static extern void GetSystemInfo(ref Kernel_struct.SYSTEM_INFO lpSystemInfo);
Пример #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);
Пример #27
0
		[DllImport("kernel32")] public static extern void LeaveCriticalSection(ref Kernel_struct.CRITICAL_SECTION lpCriticalSection);
Пример #28
0
		[DllImport("kernel32")] public static extern int UnhandledExceptionFilter(ref Kernel_struct.EXCEPTION_POINTERS ExceptionInfo);
Пример #29
0
		[DllImport("user32")] public static extern int SetUserObjectSecurity(HANDLE hObj, ref int pSIRequested, ref Kernel_struct.SECURITY_DESCRIPTOR pSd);
Пример #30
0
		[DllImport("kernel32")] public static extern int QueryPerformanceFrequency(ref Kernel_struct.LARGE_INTEGER lpFrequency);