Commit c40ad9bb authored by Francis Beaudet's avatar Francis Beaudet Committed by Alexandre Julliard

Fixed a bug in CoRegisterClassObject.

parent 739b97c2
......@@ -1137,6 +1137,11 @@ HRESULT WINAPI CoRegisterClassObject(
IUnknown_AddRef(newClass->classObject);
firstRegisteredClass = newClass;
/*
* Assign the out parameter (cookie)
*/
*lpdwRegister = newClass->dwCookie;
/*
* We're successfyl Yippee!
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment