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. |
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. |
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. |
Win32, x64
Elements: |
|
Topics: |
Media Streaming Function Groups |
For a C++ example, refer to the Set Local Network Filter Example for C++.