Skip to main content
IWMRegisterCallback interface

The IWMRegisterCallback interface enables the application to get status messages from a sink object.

By default, the writer object does not send the application any status messages from the sink object. To get status messages from a sink object, the application must query the sink object for the IWMRegisterCallback interface and call the Advise method.

The file sink object, the network sink object, and the push sink object all expose this interface. To obtain a pointer to this interface for a sink, call QueryInterface on any of these sink objects.

Members

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

Methods

The IWMRegisterCallback interface has these methods.

MethodDescription
Advise

Registers the application to receive status messages from the sink object.

Unadvise

Unregisters the application's callback interface.

 

See also

Interfaces
Writer File Sink Object
Writer Network Sink Object