Reads characters from the console device according to the current console attributes.
BOOLEAN ReadRtConsole( LPVOID pBuffer, DWORD dwBufferLength, LPDWORD pdwCount);
pBuffer
dwBufferLength
pdwCount
If the console NOECHO_MODE attribute is set, characters are input without echoing to the console. The default condition is to echo all input characters.
If the RAW_MODE attribute is set, the call will return when the number of characters requested has been input, whatever keystrokes are pressed.
If the RAW_MODE attribute is not set (the default condition), characters are input until the ENTER key is pressed then the requested number of characters is returned to the buffer or all of the characters entered before the ENTER key was pressed is copied to the buffer and the actual number of characters copied is returned via the pdwCount parameter.
Versions | Defined in | Include | Link to |
---|---|---|---|
INtime 6.0 | intime/rt/include/rtbase.h | rt.h | rt.lib |