[OLE #90] Marshal Objects & Monikers into the ROT
Mike Hearn
mh at codeweavers.com
Fri May 20 10:38:13 CDT 2005
On Fri, 20 May 2005 14:57:49 +0100, Robert Shearman wrote:
> +static inline HRESULT WINAPI
> +IrotRegister(DWORD *cookie)
> +{
> + static DWORD last_cookie = 1;
> + *cookie = InterlockedIncrement(&last_cookie);
> + return S_OK;
> +}
I'm sure there's a good reason for this, but why isn't the last cookie an
object member of the ROT? And what are all the Irot* methods given that
this is a static inline? Could the need for these functions be documented?
thanks -mike
More information about the wine-devel
mailing list