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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for