Debugging Tools for Windows

GetInputLine

The GetInputLine function requests an input string from the debugger.

ULONG
GetInputLine(
    PCSTR  Prompt,
    PSTR  Buffer,
    ULONG  BufferSize
    );

Parameters

Prompt
Specifies a prompt to indicate what input is being requested. The prompt is printed to the debugger's output before the input is gathered. If Prompt is NULL, no prompt is printed.
Buffer
Specifies the buffer to receive the input.
BufferSize
Specifies the size, in characters, of the buffer Buffer.

Return Value

GetInputLine returns the size, in characters, of the input returned to the Buffer buffer, or zero, if no input was returned.

Requirements

Headers: Defined in wdbgexts.h. If you are writing a WdbgExts extension, include wdbgexts.h. If you are writing a DbgEng extension that calls this function, include wdbgexts.h before dbgeng.h (see Writing DbgEng Extension Code for details).

Build machine: CAPEBUILD