Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Copies an error object from a specified source to a specified destination.
Syntax
HRESULT WsCopyError(
[in] WS_ERROR *source,
[in] WS_ERROR *destination
);
Parameters
[in] source
Pointer to a WS_ERROR structure representing the error object to copy.
[in] destination
Pointer to a WS_ERROR structure that receives the copied error object.
Return value
If the function succeeds, it returns NO_ERROR; otherwise, it returns an HRESULT error code.
Return code | Description |
---|---|
|
One of the error objects is NULL. |
|
One or more arguments are invalid. |
|
Insufficient memory to complete the operation. |
|
This function may return other errors not listed above. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 7 [desktop apps | UWP apps] |
Minimum supported server | Windows Server 2008 R2 [desktop apps | UWP apps] |
Target Platform | Windows |
Header | webservices.h |
Library | WebServices.lib |
DLL | WebServices.dll |