| Modifier and Type | Class and Description |
|---|---|
| public static class | Wincon.CONSOLE_SCREEN_BUFFER_INFO
CONSOLE_SCREEN_BUFFER_INFO structure |
| public static class | Wincon.COORD
COORD structure |
| public static class | Wincon.INPUT_RECORD
INPUT_RECORD structure |
| public static class | Wincon.KEY_EVENT_RECORD
KEY_EVENT_RECORD structure |
| public static class | Wincon.MOUSE_EVENT_RECORD
MOUSE_EVENT_RECORD structure |
| public static class | Wincon.SMALL_RECT
SMALL_RECT structure |
| public static class | Wincon.WINDOW_BUFFER_SIZE_RECORD
WINDOW_BUFFER_SIZE_RECORD structure |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: true if successful - if false then use
GetLastError() to get extended error informationAllocates a new console for the calling process. |
| public boolean | Returns: true if successful - if false then use
GetLastError() to get extended error informationThe identifier of the process whose console is to
be used. Can be either the process ID or the special dwProcessId)ATTACH_PARENT_PROCESS
value to indicate the console of the parent of the current process.Attaches the calling process to the console of the specified process |
| public boolean | Returns: true if successful - if false then use
GetLastError() to get extended error informationA handle to the console input buffer. The handle must
have the GENERIC_WRITE access right. hConsoleInputFlushes the console input buffer. |
| public boolean | Returns: true if successful - if false then use
GetLastError() to get extended error informationDetaches the calling process from its console |
| public boolean | Returns: true if successful - if false then use
GetLastError() to get extended error informationThe type of signal to be generated. dwCtrlEvent, int The identifier of the process group to receive the signal dwProcessGroupId)Sends a specified signal to a console process group that shares the console associated with the calling process. |
| public int | |
| public boolean | Returns: true if successful - if false then use
GetLastError() to get extended error informationThe display mode of the console lpModeFlags)Retrieves the display mode of the current console |
| public boolean | Returns: true if successful - if false then use
GetLastError() to get extended error informationA handle to the console input buffer or the console
screen buffer. The handle must have the GENERIC_READ access right hConsoleHandle,A pointer to a variable that receives the current mode of
the specified buffer lpMode)
|
| public int | Returns: If the function succeeds, the return value is the length of the string copied to the buffer, in characters. If the buffer is not large enough to store the title, the return value is zero andGetLastError returns
ERROR_SUCCESS. If the function fails, the return value is zero
and GetLastError returns the error code.A pointer to a buffer that receives a null-terminated
string containing the original title lpConsoleTitle, int Note use The size of the lpConsoleTitle buffer, in characters nSize)
|
| public int | Returns: Retrieves the output code page used by the console associated with the calling process.
|
| public boolean | Returns: true if successful - if false then use
GetLastError() to get extended error informationA handle to the console screen buffer. hConsoleOutput,A pointer to a CONSOLE_SCREEN_BUFFER_INFO structure that receives the console screen buffer information. lpConsoleScreenBufferInfoRetrieves information about the specified console screen buffer. |
| public int | Returns: If the function succeeds, the return value is the length of the console window's title, in characters. If the function fails, the return value is zero andGetLastError returns the error code.A pointer to a buffer that receives a null-terminated
string containing the title. If the buffer is too small to store the title,
the function stores as many characters of the title as will fit in the buffer,
ending with a null terminator lpConsoleTitle, int Note use The size of the buffer pointed to by the lpConsoleTitle parameter,
in characters. nSize)
|
| public WinDef. | Returns: The window handle used by the console associated with the calling process
|
| public boolean | Returns: true if successful - if false then use
GetLastError() to get extended error informationA handle to the console input buffer. The handle must
have the GENERIC_READ access right hConsoleInput,A pointer to a variable that receives the number
of unread input records in the console's input buffer lpcNumberOfEvents)
|
| public boolean | Returns: true if successful - if false then use
GetLastError() to get extended error informationA pointer to a variable that receives the number
of mouse buttons lpNumberOfMouseButtons)
|
| public WinNT. | Returns: A handle to the specified standard device (standard input, output, or error)The standard device identifier nStdHandle)
|
| public boolean | Returns: true if successful - if false then use
GetLastError() to get extended error informationA handle to the console input buffer. hConsoleInput,A pointer to an array of INPUT_RECORD structures that receives the input buffer data. lpBuffer,The size of the array pointed to by the lpBuffer parameter, in array elements. nLength, IntByReference A pointer to a variable that receives the number of input records read. lpNumberOfEventsRead)Reads data from a console input buffer and removes it from the buffer. |
| public boolean | Returns: true if successful - if false then use
GetLastError() to get extended error informationThe identifier of the code page to be set wCodePageID)
|
| public boolean | Returns: true if successful - if false then use
GetLastError() to get extended error informationA handle to the console input buffer or a
console screen buffer. The handle must have the GENERIC_READ access right hConsoleHandle,The input or output mode mask to be set dwMode)
|
| public boolean | Returns: true if successful - if false then use
GetLastError() to get extended error informationThe output code page used by the console associated with the calling process. wCodePageID)
|
| public boolean | Returns: true if successful - if false then use
GetLastError() to get extended error informationThe string to be displayed in the title bar of the console window.
The total size must be less than lpConsoleTitle)MAX_CONSOLE_TITLE_LENGTH.
|
| public boolean | Returns: true if successful - if false then use
GetLastError() to get extended error informationThe standard device identifier nStdHandle, WinNT.The handle for the standard device hHandle
|
| public boolean | Returns: true if successful - if false then use
GetLastError() to get extended error informationA handle to the console screen buffer. hConsoleOutput,A pointer to a buffer that contains characters to be written to the console screen buffer. lpBuffer, int The number of characters to be written. nNumberOfCharsToWrite, IntByReference A pointer to a variable that receives the number of characters actually written. lpNumberOfCharsWritten, WinDef.Reserved; must be NULL. lpReservedWrites a character string to a console screen buffer beginning at the current cursor location. |