Fixed a bug in CoRegisterClassObject.
This commit is contained in:
parent
739b97c2ff
commit
c40ad9bb2b
|
@ -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!
|
||||
|
|
Loading…
Reference in New Issue