IWSDAsyncResult::GetEvent method (wsdclient.h)

Retrieves a WSD_EVENT structure that contains the result of the event.

Syntax

HRESULT GetEvent(
  [out] WSD_EVENT *pEvent
);

Parameters

[out] pEvent

Reference to a WSD_EVENT structure that provides data about the event.

Return value

This method can return one of these values.

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

Return code Description
S_OK
Method completed successfully.
E_POINTER
pEvent is NULL.
E_FAIL
Event is not yet available or the asynchronous operation has not completed.

Remarks

This method should only be called by generated code and only after the IWSDAsyncResult object has signaled that the operation has completed.

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

IWSDAsyncResult