INtime SDK Help

Reads characters from the console device according to the current console attributes.

    LPVOID pBuffer, 
    DWORD dwBufferLength, 
    LPDWORD pdwCount);


Buffer where data is to be received from the console.
The size of the buffer in bytes.
A pointer to a DWORD variable which receives the count of characters actually read from the console.


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

See Also