开发者

What does NS_IMETHODIMP means in a XPCOM?

开发者 https://www.devze.com 2023-02-14 02:31 出处:网络
I\'m having trouble to find the meaning of his NS_IMETHODIMP in a XPCOM, 开发者_运维技巧and I would like to understand this function\'s signature:

I'm having trouble to find the meaning of his NS_IMETHODIMP in a XPCOM, 开发者_运维技巧and I would like to understand this function's signature:

NS_IMETHODIMP myConfig::GetProperty(const char *name, char **_retval NS_OUTPARAM)
{
    //...
}


It depends on your platform, but in general it's just a #define for nsresult. On Windows, it's a bit different, and it's a #define for nsresult __stdcall.

0

精彩评论

暂无评论...
验证码 换一张
取 消