ReadConsoleInput PROC
(MS-Windows)
Reads data from a console input buffer and
removes it from the buffer.
Invoke GetNumberOfConsoleInputEvents
to determine the number of unread input records in a console
buffer.
ReadConsoleInput PROTO, inHandle:DWORD, ; handle to console-input buffer pInputRec:PTR INPUT_RECORD, ; ptr to input buffer numRecs:DWORD, ; request number of records pNumRead:PTR DWORD ; ptr to number of records read Returns: (BOOL) EAX = TRUE (non-zero) if successful, FALSE (zero) if fails. |
Argument | Win Type | MASM Type | Description |
---|---|---|---|
inHandle | HANDLE | DWORD | Handle to the input buffer. The handle must have GENERIC_READ access. |
pInputRec | PINPUT_RECORD | PTR INPUT_RECORD | Pointer to an INPUT_RECORD buffer that receives the input buffer data. |
numRecs | DWORD | DWORD | Size, in input records, of the buffer pointed to by pInputRec. |
pNumRead | 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) |