Platform SDK: Quality of Service

TcDeleteFilter

The TcDeleteFilter function deletes a filter previously added with the TcAddFilter function.

DWORD TcDeleteFilter(
  HANDLE FilterHandle 
);

Parameters

FilterHandle
[in] Handle to the filter to be deleted, as received in a previous call to the TcAddFilter function.

Return Values

Error codes Description
NO_ERROR The function executed without errors.
ERROR_INVALID_HANDLE The filter handle is invalid.

Note  Use of the TcDeleteFilter function requires administrative privilege.

Requirements

  Windows NT/2000: Requires Windows 2000.
  Windows 95/98: Unsupported.
  Header: Declared in Traffic.h.
  Library: Use Traffic.lib.

See Also

TcAddFilter