IRtwqAsyncCallback::GetParameters method (rtworkq.h)

Provides configuration information to the dispatching thread for a callback.

Syntax

HRESULT GetParameters(
  [out] DWORD *pdwFlags,
  [out] DWORD *pdwQueue
);

Parameters

[out] pdwFlags

Receives a flag indicating the behavior of the callback object's IRtwqAsyncCallback::Invoke method. The following values are defined. The default value is zero.

Value Meaning
Zero
The callback does not take a long time to complete, but has no specific restrictions on what system calls it makes. The callback generally takes less than 30 milliseconds to complete.

[out] pdwQueue

Receives the identifier of the work queue on which the callback is dispatched.

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.
E_NOTIMPL
Not implemented. Assume the default behavior.

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