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.


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


The IWMRegisterCallback interface has these methods.


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


Unregisters the application's callback interface.


See also

Writer File Sink Object
Writer Network Sink Object