次の方法で共有


IWMClientConnections 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 IWMClientConnections interface manages the collecting of information about clients connected to a writer network sink object.

The writer network sink object exposes this interface. You can retrieve a pointer to this interface by calling the QueryInterface method of any other interface on a writer network sink object.

Inheritance

The IWMClientConnections interface inherits from the IUnknown interface. IWMClientConnections also has these types of members:

Methods

The IWMClientConnections interface has these methods.

 
IWMClientConnections::GetClientCount

The GetClientCount method retrieves the number of connected clients.
IWMClientConnections::GetClientProperties

The GetClientProperties method retrieves information, including the IP address and protocol, about a connected client.

Requirements

Requirement Value
Target Platform Windows
Header wmsdkidl.h

See also

IWMClientConnections2 Interface

Interfaces

Writer Network Sink Object