IPrintSchemaAsyncOperation 接口 (printerextension.h)
表示用于验证、合并或提交操作的异步操作上下文。
继承
IPrintSchemaAsyncOperation 接口继承自 IDispatch 接口。
方法
IPrintSchemaAsyncOperation 接口包含以下方法。
IPrintSchemaAsyncOperation::Cancel 取消异步 PrintSchema 操作。 |
IPrintSchemaAsyncOperation::Start 启动异步 PrintSchema 操作。 |
注解
任何实现 IPrintSchemaAsyncOperationEvent 的事件接收器都通过 IConnectionPoint 机制连接到关联的事件源 IPrintSchemaAsyncOperation。 必须通过在 IPrinterQueue 对象上调用 QueryInterface 来检索指向 IConnectionPoint 接口的指针。
必须在实现 IPrinterQueueEvent 的事件接收器上实现 IDispatch::Invoke,因为这是引发事件的机制。 在 IDispatch 接口上提供其他方法的存根实现就足够了。
要求
要求 | 值 |
---|---|
最低受支持的客户端 | Windows 8 |
最低受支持的服务器 | Windows Server 2012 |
目标平台 | Windows |
标头 | printerextension.h |