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