IWMAddressAccess2 interface (wmsdkidl.h)

[The feature associated with this page, Windows Media Format 11 SDK, is a legacy feature. It has been superseded by Source Reader and Sink Writer. Source Reader and Sink Writer have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use Source Reader and Sink Writer instead of Windows Media Format 11 SDK, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

The IWMAddressAccess2 interface controls IP access lists on the writer network sink object. Applications can use this interface to exclude specific IP addresses, or ranges of IP addresses, from connecting to the network sink. To obtain this interface, call QueryInterface on another interface of the writer network sink object.

This interface extends the IWMAddressAccess interface by adding support for Internet Protocol version 6 (IPv6) addresses.

The following interfaces can be obtained by using the QueryInterface method of this interface.

Interface IID
IWMAddressAccess IID_IWMAddressAccess
IWMClientConnections IID_IWMClientConnections
IWMClientConnections2 IID_IWMClientConnections2
IWMWriterNetworkSink IID_IWMWriterNetworkSink
IWMWriterSink IID_IWMWriterSink

Inheritance

The IWMAddressAccess2 interface inherits from IWMAddressAccess. IWMAddressAccess2 also has these types of members:

Methods

The IWMAddressAccess2 interface has these methods.

 
IWMAddressAccess2::AddAccessEntryEx

The AddAccessEntryEx method adds an entry to the IP address access list.
IWMAddressAccess2::GetAccessEntryEx

The GetAccessEntryEx method retrieves an entry from the IP address access list.

Requirements

   
Target Platform Windows
Header wmsdkidl.h

See also

IWMAddressAccess

Interfaces

Writer Network Sink Object