IRtwqAsyncCallback::Invoke method (rtworkq.h)

Called when an asynchronous operation is completed.

Syntax

HRESULT Invoke(
  [in] IRtwqAsyncResult *pAsyncResult
);

Parameters

[in] pAsyncResult

Pointer to the IRtwqAsyncResult interface. Pass this pointer to the asynchronous End... method to complete the asynchronous call.

Return value

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return code Description
S_OK
The method succeeded.

Remarks

Within your implementation of Invoke, call the corresponding End... method.

Requirements

Requirement Value
Minimum supported client Windows 8.1 [desktop apps only]
Minimum supported server Windows Server 2012 R2 [desktop apps only]
Target Platform Windows
Header rtworkq.h
Library Rtworkq.lib
DLL RTWorkQ.dll

See also

IRtwqAsyncCallback