Debugging Tools for Windows |
The GetPromptText and GetPromptTextWide methods return the standard prompt text that will be prepended to the formatted output specified in the OutputPrompt and OutputPromptVaList methods.
HRESULT
IDebugControl::GetPromptText(
OUT OPTIONAL PSTR Buffer,
IN ULONG BufferSize,
OUT OPTIONAL PULONG TextSize
);
HRESULT
IDebugControl4::GetPromptTextWide(
OUT OPTIONAL PWSTR Buffer,
IN ULONG BufferSize,
OUT OPTIONAL PULONG TextSize
);
#ifdef UNICODE
#define GetPromptTextT GetPromptTextWide
#else
#define GetPromptTextT GetPromptText
#endif
This method can also return error values. See Return Values for more details.
GetPromptText is available in all versions of IDebugControl. GetPromptTextWide is available in IDebugControl4 and later versions.
For more information about prompting the user, see Using Input and Output.
Headers: Defined in Dbgeng.h. Include Dbgeng.h.