WerUnregisterMemoryBlock function
Removes a memory block from the list of data to be collected during error reporting for the application.
Syntax
HRESULT WINAPI WerUnregisterMemoryBlock( _In_ PVOID pvAddress );
Parameters
- pvAddress [in]
-
The starting address of the memory block. This memory block must have been registered using the WerRegisterMemoryBlock function.
Return value
This function returns S_OK on success or an error code on failure, including the following error code.
| Return code | Description |
|---|---|
|
The process state is not valid. For example, the process is in application recovery mode. |
|
The list of registered memory blocks does not contain the specified memory block. |
Requirements
|
Minimum supported client |
Windows Vista [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server |
Windows Server 2008 [desktop apps | Windows Store apps] |
|
Header |
|
|
Library |
|
|
DLL |
|
See also
Show: