Edit

Share via


IAsynchronousDataRetriever::RegisterCallback method (winsync.h)

Registers a callback interface that will be called by the IAsynchronousDataRetriever object when an asynchronous method finishes processing.

Syntax

HRESULT RegisterCallback(
  [in] IDataRetrieverCallback *pDataRetrieverCallback
);

Parameters

[in] pDataRetrieverCallback

The callback interface to register.

Return value

The possible return codes include, but are not limited to, the values shown in the following table.

Return code Description
S_OK
The method succeeded.
Provider-determined error codes.

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Target Platform Windows
Header winsync.h

See also

IAsynchronousDataRetriever Interface