Freigeben über


IDkmVisualStudioServices.DisplayUserMessagePrompt(DkmUserMessage) Method

Definition

Displays a message to the user inside the Visual Studio debugger IDE. This function waits for the Visual Studio IDE to complete processing this message. This method may not be called from code that runs as part of UI event processing. Doing so will cause a deadlock. This method requires DkmUserMessage.Process to be non-null.

public:
 System::UInt32 DisplayUserMessagePrompt(Microsoft::VisualStudio::Debugger::DkmUserMessage ^ userMessage);
public:
 unsigned int DisplayUserMessagePrompt(Microsoft::VisualStudio::Debugger::DkmUserMessage ^ userMessage);
unsigned int DisplayUserMessagePrompt(Microsoft::VisualStudio::Debugger::DkmUserMessage const & userMessage);
public uint DisplayUserMessagePrompt (Microsoft.VisualStudio.Debugger.DkmUserMessage userMessage);
abstract member DisplayUserMessagePrompt : Microsoft.VisualStudio.Debugger.DkmUserMessage -> uint32
Public Function DisplayUserMessagePrompt (userMessage As DkmUserMessage) As UInteger

Parameters

userMessage
DkmUserMessage

[In] Contains information about a message that is to be displayed to the user.

Returns

[Out] Win32 'ID' code from displaying the message box (ex: IDYES). These codes are defined in winuser.h from the Windows SDK.

Applies to