Windows Dev Center

Expand Minimize

WsResetError function

Releases the content of the error object parameter but does not release the resource allocated to the error object parameter.

Note  The "reset" effect of this function returns the error object to the state set at instantiation. The object is not released consequently is available for reuse.

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 codeDescription
E_INVALIDARG

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

WebServices.h

Library

WebServices.lib

DLL

WebServices.dll

 

 

Community Additions

ADD
Show:
© 2015 Microsoft