Fix
This commit is contained in:
parent
a0d92989da
commit
7c8e5b9330
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user