COM接口GUID字符串 [英] COM Interface GUID String

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

问题描述

我一直在网上寻找

IID_

接口的

IUserNotification

GUID的头文件等,但找不到.我只能找到Vista版本,当我在系统(XP)上使用该版本时会返回错误,提示未找到接口.

因此,我只是想问问是否有人知道如何以及在何处获得它.谢谢

interface but I cannot find it. I can only find the Vista version which when I use on my system (XP) returns error saying Interface not found.

So I just wanted to ask if anyone knows how and where to get it. Thanks

推荐答案

尝试这个
在您的程序中,输入
try this
in ur programm type
CLSID_UserNotification

IID_IUserNotification

并按F12键查看其GUID.
您正在使用的系统中可能不支持该功能

and press F12 to see its GUID.
it can be unsupported in the system that u are using


在Shobjidl.h中查找.
我在第14588行发现了这一点:

Look in Shobjidl.h.
I found this in line 14588:

EXTERN_C const IID IID_IUserNotification;



而在14592-14593中:



and in 14592-14593:

    MIDL_INTERFACE("ba9711ba-5893-4787-a7e1-41277151550b")
    IUserNotification : public IUnknown
...



希望这会有所帮助,
巴勃罗.



Hope this helps,
Pablo.


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

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