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