WsResetError function
Releases the content of the error object parameter but does not release the resource allocated to the error object parameter.
Syntax
HRESULT WINAPI WsResetError( _In_ WS_ERROR* error );
Parameters
- error [in]
-
This parameter is a pointer to the WS_ERROR object to reset.
Return value
This function can return one of these values.
| Return code | Description |
|---|---|
|
One or more arguments are invalid. |
Remarks
String data added to the error object using the WsAddErrorString function are released.
Properties that have been set using the WsSetErrorProperty function are released.
Requirements
|
Minimum supported client | Windows 7 [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server | Windows Server 2008 R2 [desktop apps | Windows Store apps] |
|
Header |
|
|
Library |
|
|
DLL |
|