1
0
mirror of synced 2024-11-30 18:24:35 +01:00
This commit is contained in:
BroGamer 2022-09-16 10:17:04 +12:00
parent a0d92989da
commit 7c8e5b9330

View File

@ -257,13 +257,8 @@ class CAuthFactory : public IClassFactory {
wchar_t *iid_str; wchar_t *iid_str;
StringFromCLSID (riid, &iid_str); StringFromCLSID (riid, &iid_str);
printf ("CreateInstance %ls\n", iid_str); printf ("CreateInstance %ls\n", iid_str);
if (riid == IID_CAuth) { CAuth *auth = new CAuth ();
CAuth *auth = new CAuth (); return auth->QueryInterface (riid, object);
return auth->QueryInterface (riid, object);
} else {
*object = 0;
return E_NOINTERFACE;
}
} }
virtual HRESULT virtual HRESULT
LockServer (i32 lock) { LockServer (i32 lock) {