Platform SDK: Quality of Service |
The TcGetFlowName function provides the name of a flow that has been created by the calling client. Flow properties and other characteristics of flows are provided based on the name of a flow. Flow names can also be retrieved by a call to the TcEnumerateFlows function.
DWORD TcGetFlowName( HANDLE FlowHandle, ULONG StrSize, LPTSTR pFlowName );
Error codes | Description |
---|---|
NO_ERROR | The function executed without errors. |
ERROR_INVALID_HANDLE | The flow handle is invalid. |
ERROR_INVALID_PARAMETER | One of the parameters is invalid. |
ERROR_INSUFFICIENT_BUFFER | The buffer is too small to contain the results. |
Note Use of the TcGetFlowName function requires administrative privilege.
Windows NT/2000: Requires Windows 2000.
Windows 95/98: Unsupported.
Header: Declared in Traffic.h.
Library: Use Traffic.lib.