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 code | Description |
|---|---|
|
The error-reporting behavior was retrieved successfully. |
|
flags is NULL. |
|
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 |
|
|
IDL |
|
See also