TcGetFlowNameA function (traffic.h)
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.
ULONG TcGetFlowNameA( [in] HANDLE FlowHandle, [in] ULONG StrSize, [out] LPSTR pFlowName );
Handle for the flow.
Size of the string buffer provided in pFlowName.
Pointer to the output buffer holding the flow name.
||The function executed without errors.|
||The flow handle is invalid.|
||One of the parameters is invalid.|
||The buffer is too small to contain the results.|
Use of the TcGetFlowName function requires administrative privilege.
The traffic.h header defines TcGetFlowName as an alias which automatically selects the ANSI or Unicode version of this function based on the definition of the UNICODE preprocessor constant. Mixing usage of the encoding-neutral alias with code that not encoding-neutral can lead to mismatches that result in compilation or runtime errors. For more information, see Conventions for Function Prototypes.
|Minimum supported client||Windows 2000 Professional [desktop apps only]|
|Minimum supported server||Windows 2000 Server [desktop apps only]|