Spooler API 中 Windows RegisterForPrintAsyncNotifications 的示例代码?
Windows Vista 通过 RegisterForPrintAsyncNotifications 函数引入了来自打印机后台处理程序的通知 ( http://msdn.microsoft.com/en-us/library/dd162919(VS.85).aspx)
有谁知道使用该函数的后台处理程序通知的示例代码吗?我一直找不到任何东西,微软在没有示例的情况下发布该方法似乎很奇怪。
Windows Vista introduced notifications from the Printer Spooler with the RegisterForPrintAsyncNotifications function (http://msdn.microsoft.com/en-us/library/dd162919(VS.85).aspx)
Does anyone know of any sample code for spooler notifications using that function? I have been unable to find any and it seems strange that Microsoft would publish the method without examples.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Windows WDK 8.1 包含一个示例 VS 解决方案,该解决方案演示了异步API。但它不是 Win10 WDK 的一部分。该解决方案构建了两个项目:
您可能还应该查看这篇 MS 日语文章其中列出了从现有代码调用静态库 api 所需的步骤。
The Windows WDK 8.1 contains a sample VS solution that demonstrates the async API. But it's not part of the Win10 WDK. The solution builds two projects:
You should probably also check this MS Japanese article which lists the steps required to call the static library api from your existing code.