Fixed a bug in CoRegisterClassObject.

This commit is contained in:
Francis Beaudet 1999-05-01 10:32:32 +00:00 committed by Alexandre Julliard
parent 739b97c2ff
commit c40ad9bb2b
1 changed files with 5 additions and 0 deletions

View File

@ -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!