IPrintAsyncNotifyCallback interface (prnasnot.h)

Creates and manages a communication channel used by applications and components that are hosted by the print spooler.

Inheritance

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

Methods

The IPrintAsyncNotifyCallback interface has these methods.

 
IPrintAsyncNotifyCallback::ChannelClosed

Advises one member of a communication channel to notify the other member that the channel is being closed.
IPrintAsyncNotifyCallback::OnEventNotify

Alerts a listener that a notification is available on a specified channel. This method is called by the print system.

Remarks

For an application to receive notifications from a Print Spooler-hosted component, it must provide an IPrintAsyncNotifyCallback object when it registers for notifications.

A Print Spooler-hosted component that opens a bidirectional communication channel with a listening application must provide an IPrintAsyncNotifyCallback object.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header prnasnot.h

See also

Asynchronous Printing Notification Interfaces

Printing