NtDllDbgPrompt Method
Displays a caller-specified user prompt string on the kernel debugger's display device and obtains a user response string.
Namespace: DevCase.Win32.NativeMethodsAssembly: 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
)
<DllImportAttribute("NtDll.dll", CharSet := CharSet.Auto, BestFitMapping := false,
ExactSpelling := true, ThrowOnUnmappableChar := true>]
Public Shared Function DbgPrompt (
prompt As String,
response As StringBuilder,
length As UInteger
) As UInteger
Dim prompt As String
Dim response As StringBuilder
Dim length As UInteger
Dim returnValue As UInteger
returnValue = NtDll.DbgPrompt(prompt,
response, length)
public:
[DllImportAttribute(L"NtDll.dll", CharSet = CharSet::Auto, BestFitMapping = false,
ExactSpelling = true, ThrowOnUnmappableChar = true)]
static unsigned int DbgPrompt(
String^ prompt,
StringBuilder^ response,
unsigned int length
)
[<DllImportAttribute("NtDll.dll", CharSet = CharSet.Auto, BestFitMapping = false,
ExactSpelling = true, ThrowOnUnmappableChar = true)>]
static member DbgPrompt :
prompt : string *
response : StringBuilder *
length : uint32 -> uint32
No code example is currently available or this language may not be supported.
- 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.
UInt32
Returns the number of characters that the
response buffer received,
including the terminating newline character.
Returns zero if it receives no characters.