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) { //... }
プラットフォームによって異なりますが、一般的にはのための#defineものですnsresult。Windowsでは、少し異なり、#definefornsresult __stdcallです。
#define
nsresult
nsresult __stdcall