In This Topic ▼

IltmsIPFilters::Remove

Keywords: Add extra keywords, separated with a semicolon(;).

#include "ltms.h"

C Syntax

HRESULT IltmsIPFilters_Remove(pIPFilters, index)

C++ Syntax

HRESULT Remove(index)

IltmsIPFilters *pIPFilters;

pointer to an interface

LONG index;

index

Removes the IP filter at the specified index.

Parameter

Description

pIPFilters

Pointer to an IltmsIPFilters interface.

index

Zero-based index of the IP filter to remove.

Returns

S_OK

The function was successful.

<> S_OK

An error occurred. Refer to the Error Codes or the HRESULT error codes in the DirectShow documentation.

Comments

This function toggles the "allow" permission for the specified IP filter and combines the new entry with the existing collection. This has the effect of deleting the entry. The resulting collection is always a normalized list covering the complete IP address range. Call IltmsIPFilters::get_Count to obtain the resulting collection's IP filter count.

Required DLLs and Libraries

LTMS

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

Platforms

Win32, x64

See Also

Elements:

IltmsIPFilters InterfaceIltmsIPFilters::get_Count

Topics:

Media Streaming Function Groups

Example

For a C++ example, refer to the Set Local Network Filter Example for C++.

Help Version 20.0.2020.4.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Media Streaming C API Help