WerGetFlags function (werapi.h)
Retrieves the fault reporting settings for the specified process.
Syntax
HRESULT WerGetFlags(
[in] HANDLE hProcess,
[out] PDWORD pdwFlags
);
Parameters
[in] hProcess
A handle to the process. This handle must have the PROCESS_VM_READ or PROCESS_QUERY_INFORMATION access right.
[out] pdwFlags
This parameter can contain one or more of the following values.
Return value
This function returns S_OK on success or an error code on failure.
Requirements
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Target Platform | Windows |
Header | werapi.h |
Library | Kernel32.lib |
DLL | Kernel32.dll |