IWSDEndpointProxy::GetErrorInfo method (wsdclient.h)

Retrieves information on the last error.

Syntax

HRESULT GetErrorInfo(
  [out] LPCWSTR *ppszErrorInfo
);

Parameters

[out] ppszErrorInfo

Pointer to a buffer containing the data for the last recorded error.

Return value

Possible return values include, but are not limited to, the following:

Return code Description
S_OK
Method completed successfully.
E_POINTER
ppszErrorInfo is NULL.

Remarks

Note  The error information returned in ppszErrorInfo must be released with WSDFreeLinkedMemory when it is no longer required for use.
 

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header wsdclient.h (include Wsdapi.h)
DLL Wsdapi.dll

See also

IWSDEndpointProxy