GetStdHandle PROC
(MS-Windows)
Gets a handle for the standard input, standard
output, or standard error device.
Use handle with ReadFile, WriteFile, ReadConsoleInput, WriteConsole, or GetConsoleScreenBufferInfo.
Invoke GetLastError to get extended error
information.
GetStdHandle PROTO, ; get standard handle nStdHandle:DWORD ; type of console handle Returns: (HANDLE) EAX = A handle to the specified device, or INVALID_HANDLE_VALUE flag if function fails. |
Argument | Win Type | MASM Type | Description |
---|---|---|---|
nStdHandle | DWORD | DWORD | Specifies the device: · STD_INPUT_HANDLE · STD_OUTPUT_HANDLE · STD_ERROR_HANDLE |
Converted from CHM to HTML with chm2web Pro 2.85 (unicode) |