1
0
mirror of synced 2024-11-23 22:51:02 +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;
StringFromCLSID (riid, &iid_str);
printf ("CreateInstance %ls\n", iid_str);
if (riid == IID_CAuth) {
CAuth *auth = new CAuth ();
return auth->QueryInterface (riid, object);
} else {
*object = 0;
return E_NOINTERFACE;
}
CAuth *auth = new CAuth ();
return auth->QueryInterface (riid, object);
}
virtual HRESULT
LockServer (i32 lock) {