PeekConsoleInput PROC
(MS-Windows)
Reads data from the specified console input
buffer without removing it from the buffer.
PeekConsoleInput PROTO, hConsoleInput:DWORD, ; console input handle lpBuffer:PTR BYTE, ; pointer to buffer to peek nLength:DWORD, ; number of records to read lpNumberOfEventsRead:PTR DWORD ; pointer to number of records read Returns: (BOOL) EAX = TRUE (non-zero) if successful, FALSE (zero) if fails. |
Argument | Win Type | MASM Type | Description |
---|---|---|---|
hConsoleInput | HANDLE | DWORD | Handle to the console input buffer. The handle must have GENERIC_READ access. |
lpBuffer | PINPUT_RECORD | PTR BYTE | Pointer to an INPUT_RECORD buffer that receives the input buffer data. |
nLength | DWORD | DWORD | The number of records to read from the buffer pointed to by lpBuffer. |
lpNumberOfEventsRead | LPDWORD | PTR DWORD | Pointer to DWORD that receives the number of input records read. |
Converted from CHM to HTML with chm2web Pro 2.85 (unicode) |