Condividi tramite


Metodo IDebugControl4::GetPromptTextWide (dbgeng.h)

Il metodo GetPromptTextWide restituisce il testo del prompt standard che verrà anteporto all'output formattato specificato nel OutputPrompt e OutputPromptVaList metodi.

Sintassi

HRESULT GetPromptTextWide(
  [out, optional] PWSTR  Buffer,
  [in]            ULONG  BufferSize,
  [out, optional] PULONG TextSize
);

Parametri

[out, optional] Buffer

Riceve il testo del prompt. Se buffer è null, queste informazioni non vengono restituite.

[in] BufferSize

Specifica le dimensioni, in caratteri, del buffer buffer buffer.

[out, optional] TextSize

Riceve le dimensioni, in caratteri, del testo della richiesta. Se TextSize è null, queste informazioni non vengono restituite.

Valore restituito

Questo metodo può anche restituire valori di errore. Per altri dettagli, vedere valori restituiti.

Codice restituito Descrizione
S_OK
Il metodo ha avuto esito positivo.
S_FALSE
Il metodo ha avuto esito positivo. Tuttavia, il testo della richiesta era troppo grande per rientrare nel buffer buffer buffer e il testo è stato troncato.

Osservazioni

Per altre informazioni sulla richiesta dell'utente, vedere Using Input and Output.

Fabbisogno

Requisito Valore
piattaforma di destinazione Desktop
intestazione dbgeng.h (include Dbgeng.h)

Vedere anche

IDebugControl4

OutputPrompt

OutputPromptVaList