Freigeben über


DkmDisplayUserMessagePromptAsyncResult Struct

Definition

Result of an asynchronous DkmUserMessage.DisplayPrompt call.

public value class DkmDisplayUserMessagePromptAsyncResult
public value class DkmDisplayUserMessagePromptAsyncResult
struct DkmDisplayUserMessagePromptAsyncResult
public struct DkmDisplayUserMessagePromptAsyncResult
type DkmDisplayUserMessagePromptAsyncResult = struct
Public Structure DkmDisplayUserMessagePromptAsyncResult
Inheritance
DkmDisplayUserMessagePromptAsyncResult

Constructors

DkmDisplayUserMessagePromptAsyncResult(UInt32)

Creates a new result structure to hold the output from a successful call to DkmUserMessage.DisplayPrompt.

Properties

ErrorCode

HRESULT code returned from the caller. This will be DkmExceptionCode.COR_E_OPERATIONCANCELED (0x8013153B) if the operation was canceled before processing was complete.

Result

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

This API was introduced in Visual Studio 12 RTM (DkmApiVersion.VS12RTM).

Methods

CreateErrorResult(Exception)

Creates a new result structure to hold the error from a failed call to DkmUserMessage.DisplayPrompt.

Applies to