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

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS Media Streaming C API Help