NtDllDbgPrompt Method

Displays a caller-specified user prompt string on the kernel debugger's display device and obtains a user response string.

Definition

Namespace: DevCase.Win32.NativeMethods
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[DllImportAttribute("NtDll.dll", CharSet = CharSet.Auto, BestFitMapping = false, 
	ExactSpelling = true, ThrowOnUnmappableChar = true)]
public static uint DbgPrompt(
	string prompt,
	StringBuilder response,
	uint length
)

Parameters

prompt  String
A pointer to a NULL-terminated constant character string that the debugger will display as a user prompt.

The maximum size of this string is 512 characters.

response  StringBuilder
A pointer to a character array buffer that receives the user's response, including a terminating newline character.

The maximum size of this buffer is 512 characters.

length  UInt32
The size, in characters, of the buffer that receives the user's response.

This size is the maximum number of characters that the routine will return.

Return Value

UInt32
Returns the number of characters that the response buffer received, including the terminating newline character.

Returns zero if it receives no characters.

Remarks

See Also