Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我很难在 XPCOM 中找到他的 NS_IMETHODIMP 的含义,我想了解这个函数的签名:
NS_IMETHODIMP myConfig::GetProperty(const char *name, char **_retval NS_OUTPARAM) { //... }
这取决于您的平台,但通常它只是一个#definefor nsresult. 在 Windows 上,它有点不同,它是一个#definefor nsresult __stdcall.
#define
nsresult
nsresult __stdcall