IPrintCoreHelper接口 - 需要帮助 [英] IPrintCoreHelper Interfacing - Help needed

查看:83
本文介绍了IPrintCoreHelper接口 - 需要帮助的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们的团队试图在我们的过滤器管道代码中使用IPrintCoreHelper接口。我们的代码是基于unidriver的。我们尝试以类似的方式使用它,如WDK6000中的SimplePipelineFilter示例所示。在使用SimplePipelineFilter中的WinDBG调试StreamFilter代码时,我们发现它在InitializeFilter中调用QueryInterface时失败了。返回的错误代码是

Our team was trying to use the IPrintCoreHelper Interface in our filter pipeline code. Our code is unidriver based.We tried to use it in the similar way as shown in the SimplePipelineFilter example in WDK6000. On debugging the StreamFilter code using WinDBG in the SimplePipelineFilter we found that it failed when it called the QueryInterface in InitializeFilter. The error code returned was

hr = 0x80004002:_E _NOINTERFACE:不支持此类接口。

此外,我们注意到Print Pipeline PropertyBag中没有IPrintCoreHelper属性的任何符号名称,GetProperty方法将其作为字符串传递。

Also we noticed that there does not exist any symbolic name for IPrintCoreHelper property in the Print Pipeline PropertyBag and the GetProperty method passed it as a string.

有没有人遇到同样的观察?解决此问题需要帮助。

Has anybody come across the same observation? Help needed on resolving this issue.

我们使用的unidrv版本是: 0.3.6000.16386

The version of unidrv that we used is  : 0.3.6000.16386

谢谢和问候,

Soorya

< span class = 546134013-08122006>

 

推荐答案

如果您在该类中有GetInfo()函数,则应为OEMGI_GETREQUESTEDHELPERINTERFACES提及所需的帮助程序类。
If you have GetInfo() function in that class, then th required helper class should be mentioned for OEMGI_GETREQUESTEDHELPERINTERFACES.
在你的情况下,它需要是OEMPBLISH_IPRINTCOREHELPER
In your case, it needs to be OEMPBLISH_IPRINTCOREHELPER


这篇关于IPrintCoreHelper接口 - 需要帮助的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆