atl: Implement AtlComModuleRevokeClassObjects().
This commit is contained in:
parent
2b1c8fed24
commit
288f3aca62
|
@ -502,7 +502,28 @@ HRESULT WINAPI AtlComModuleRegisterClassObjects(_ATL_COM_MODULE *module, DWORD c
|
|||
}
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* AtlComModuleRevokeClassObjects [atl100.20]
|
||||
*/
|
||||
HRESULT WINAPI AtlComModuleRevokeClassObjects(_ATL_COM_MODULE *module)
|
||||
{
|
||||
_ATL_OBJMAP_ENTRY **iter;
|
||||
HRESULT hres;
|
||||
|
||||
TRACE("(%p)\n", module);
|
||||
|
||||
if(!module)
|
||||
return E_INVALIDARG;
|
||||
|
||||
for(iter = module->m_ppAutoObjMapFirst; iter < module->m_ppAutoObjMapLast; iter++) {
|
||||
hres = CoRevokeClassObject((*iter)->dwRegister);
|
||||
if(FAILED(hres))
|
||||
return hres;
|
||||
}
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
14 stdcall AtlUnmarshalPtr(ptr ptr ptr)
|
||||
15 stdcall AtlComModuleGetClassObject(ptr ptr ptr ptr)
|
||||
17 stdcall AtlComModuleRegisterClassObjects(ptr long long)
|
||||
20 stub AtlComModuleRevokeClassObjects
|
||||
20 stdcall AtlComModuleRevokeClassObjects(ptr)
|
||||
22 stdcall AtlComModuleUnregisterServer(ptr long ptr)
|
||||
23 stdcall AtlUpdateRegistryFromResourceD(long wstr long ptr ptr)
|
||||
24 stdcall AtlWaitWithMessageLoop(long)
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
14 stdcall AtlUnmarshalPtr(ptr ptr ptr) atl100.AtlUnmarshalPtr
|
||||
15 stdcall AtlComModuleGetClassObject(ptr ptr ptr ptr) atl100.AtlComModuleGetClassObject
|
||||
17 stdcall AtlComModuleRegisterClassObjects(ptr long long) atl100.AtlComModuleRegisterClassObjects
|
||||
20 stub AtlComModuleRevokeClassObjects
|
||||
20 stdcall AtlComModuleRevokeClassObjects(ptr) atl100.AtlComModuleRevokeClassObjects
|
||||
22 stdcall AtlComModuleUnregisterServer(ptr long ptr) atl100.AtlComModuleUnregisterServer
|
||||
23 stdcall AtlUpdateRegistryFromResourceD(long wstr long ptr ptr) atl100.AtlUpdateRegistryFromResourceD
|
||||
24 stdcall AtlWaitWithMessageLoop(long) atl100.AtlWaitWithMessageLoop
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
17 stdcall AtlComModuleRegisterClassObjects(ptr long long) atl100.AtlComModuleRegisterClassObjects
|
||||
18 stdcall AtlComModuleRegisterServer(ptr long ptr)
|
||||
19 stdcall AtlRegisterTypeLib(ptr wstr)
|
||||
20 stub AtlComModuleRevokeClassObjects
|
||||
20 stdcall AtlComModuleRevokeClassObjects(ptr) atl100.AtlComModuleRevokeClassObjects
|
||||
22 stdcall AtlComModuleUnregisterServer(ptr long ptr) atl100.AtlComModuleUnregisterServer
|
||||
23 stdcall AtlUpdateRegistryFromResourceD(long wstr long ptr ptr) atl100.AtlUpdateRegistryFromResourceD
|
||||
24 stdcall AtlWaitWithMessageLoop(long) atl100.AtlWaitWithMessageLoop
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
14 stdcall AtlUnmarshalPtr(ptr ptr ptr) atl100.AtlUnmarshalPtr
|
||||
15 stdcall AtlComModuleGetClassObject(ptr ptr ptr ptr) atl100.AtlComModuleGetClassObject
|
||||
17 stdcall AtlComModuleRegisterClassObjects(ptr long long) atl100.AtlComModuleRegisterClassObjects
|
||||
20 stub AtlComModuleRevokeClassObjects
|
||||
20 stdcall AtlComModuleRevokeClassObjects(ptr) atl100.AtlComModuleRevokeClassObjects
|
||||
22 stdcall AtlComModuleUnregisterServer(ptr long ptr) atl100.AtlComModuleUnregisterServer
|
||||
23 stdcall AtlUpdateRegistryFromResourceD(long wstr long ptr ptr) atl100.AtlUpdateRegistryFromResourceD
|
||||
24 stdcall AtlWaitWithMessageLoop(long) atl100.AtlWaitWithMessageLoop
|
||||
|
|
Loading…
Reference in New Issue