TCI_ADD_FLOW_COMPLETE_HANDLER callback function (traffic.h)

The ClAddFlowComplete function is used by traffic control to notify the client of the completion of its previous call to the TcAddFlow function.

The ClAddFlowComplete callback function is optional. If this function is not specified, TcAddFlow will block until it completes.

Syntax

TCI_ADD_FLOW_COMPLETE_HANDLER TciAddFlowCompleteHandler;

void TciAddFlowCompleteHandler(
  [in] HANDLE ClFlowCtx,
  [in] ULONG Status
)
{...}

Parameters

[in] ClFlowCtx

Client provided–flow context handle. This can be the container used to hold an arbitrary client-defined context for this instance of the client. This value will be the same as the value provided by the client during its corresponding call to TcAddFlow.

[in] Status

Completion status for the TcAddFlow request. This value may be any of the return values possible for the TcAddFlow function, with the exception of ERROR_SIGNAL_PENDING.

Note  Use of the ClAddFlowComplete function requires administrative privilege.
 

Return value

None

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header traffic.h

See also

TcAddFlow