IltmsIPFilters::Remove

Summary

Removes the IP filter at the specified index.

Syntax

#include "ltms.h"

Language Syntax
C HRESULT IltmsIPFilters_Remove(pIPFilters, index)
C++ HRESULT Remove(index)

Parameters

IltmsIPFilters *pIPFilters

Pointer to an IltmsIPFilters interface.

LONG index

Zero-based index of the IP filter to remove.

Returns

Value Meaning
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

Platforms

Win32, x64.

See Also

Functions

Topics

Example

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

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

LEADTOOLS Media Streaming C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.