ole32/tests: Avoid a cast from COM object to interface.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
32582a780e
commit
a2d26ae822
|
@ -244,7 +244,7 @@ static void ole_server(void)
|
|||
if (hr == S_OK)
|
||||
{
|
||||
trace("server: registering class object\n");
|
||||
hr = CoRegisterClassObject(&CLSID_WineTestObject, (IUnknown *)&factory,
|
||||
hr = CoRegisterClassObject(&CLSID_WineTestObject, (IUnknown *)&factory.IClassFactory_iface,
|
||||
CLSCTX_SERVER, REGCLS_MULTIPLEUSE, &key);
|
||||
if (hr == S_OK)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue