Windows desktop applications
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IErrorReportingSettings::GetErrorOptions method

Gets the current reporting behavior of Windows Runtime error functions.

Syntax


HRESULT GetErrorOptions(
  [out, retval] ErrorOptions *flags
);

Parameters

flags [out, retval]

Type: ErrorOptions*

A bitmask of ErrorOptions values that represents the current error-reporting behavior.

Return value

Type: HRESULT

This method can return one of these values.

Return codeDescription
S_OK

The error-reporting behavior was retrieved successfully.

E_POINTER

flags is NULL.

E_ACCESSDENIED

The caller does not have the permissions required to attach to the process as a debugger. The caller must have SE_DEBUG_PRIVILEGE or be able to open the process for PROCESS_ALL_ACCESS.

 

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Header

Windows.Foundation.h

IDL

Windows.Foundation.idl

See also

IErrorReportingSettings
SetErrorReportingFlags
ErrorOptions

 

 

Show:
© 2016 Microsoft