次の方法で共有


IWMWriterPushSink 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 IWMWriterPushSink interface enables the application to send ASF files to a publishing point on a Windows Media server. The writer push sink object exposes this interface. To create an instance of the writer push sink, call the WMCreateWriterPushSink function.

Inheritance

The IWMWriterPushSink interface inherits from IWMWriterSink. IWMWriterPushSink also has these types of members:

Methods

The IWMWriterPushSink interface has these methods.

 
IWMWriterPushSink::Connect

The Connect method connects to a publishing point on a Windows Media server.
IWMWriterPushSink::Disconnect

The Disconnect method disconnects the push sink from the server.
IWMWriterPushSink::EndSession

The EndSession method ends the push distribution session. This method sends an end-of-stream message to the server, and then shuts down the data path on the server.

Requirements

Requirement Value
Target Platform Windows
Header wmsdkidl.h

See also

IWMWriterSink

Interfaces

Sending ASF Data to a Publishing Point

Writer Push Sink Object