Kernel32WerGetFlags Method
Retrieves the fault reporting settings for the specified process.
Namespace: DevCase.Win32.NativeMethodsAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[DllImportAttribute("Kernel32.dll", ExactSpelling = true)]
public static HResult WerGetFlags(
IntPtr hProcess,
out WerFaultReporting refFlags
)
<DllImportAttribute("Kernel32.dll", ExactSpelling := true>]
Public Shared Function WerGetFlags (
hProcess As IntPtr,
<OutAttribute> ByRef refFlags As WerFaultReporting
) As HResult
Dim hProcess As IntPtr
Dim refFlags As WerFaultReporting
Dim returnValue As HResult
returnValue = Kernel32.WerGetFlags(hProcess,
refFlags)
public:
[DllImportAttribute(L"Kernel32.dll", ExactSpelling = true)]
static HResult WerGetFlags(
IntPtr hProcess,
[OutAttribute] WerFaultReporting% refFlags
)
[<DllImportAttribute("Kernel32.dll", ExactSpelling = true)>]
static member WerGetFlags :
hProcess : IntPtr *
refFlags : WerFaultReporting byref -> HResult
No code example is currently available or this language may not be supported.
- hProcess IntPtr
-
A handle to the process.
This handle must have the VirtualMemoryRead
or QueryInformation access right.
- refFlags WerFaultReporting
-
Flags.
HResult
Returns
S_OK on success, or an
HResult error code on failure.