Added stub for AtlModuleUpdateRegistryFromResourceD.

This commit is contained in:
Stefan Leichter 2004-09-02 20:06:39 +00:00 committed by Alexandre Julliard
parent 8702418d06
commit 26e6168440
2 changed files with 22 additions and 1 deletions

View File

@ -15,7 +15,7 @@
20 stub AtlModuleRevokeClassObjects 20 stub AtlModuleRevokeClassObjects
21 stdcall AtlModuleTerm(ptr) 21 stdcall AtlModuleTerm(ptr)
22 stub AtlModuleUnregisterServer 22 stub AtlModuleUnregisterServer
23 stub AtlModuleUpdateRegistryFromResourceD 23 stdcall AtlModuleUpdateRegistryFromResourceD(ptr wstr long ptr ptr)
24 stub AtlWaitWithMessageLoop 24 stub AtlWaitWithMessageLoop
25 stub AtlSetErrorInfo 25 stub AtlSetErrorInfo
26 stub AtlCreateTargetDC 26 stub AtlCreateTargetDC

View File

@ -150,3 +150,24 @@ HRESULT WINAPI AtlInternalQueryInterface(LPVOID this, const _ATL_INTMAP_ENTRY* p
TRACE("Done returning (0x%lx)\n",rc); TRACE("Done returning (0x%lx)\n",rc);
return rc; return rc;
} }
/***********************************************************************
* AtlModuleUpdateRegistryFromResourceD [ATL.@]
*
*/
HRESULT WINAPI AtlModuleUpdateRegistryFromResourceD(_ATL_MODULEW* pM, LPCOLESTR lpszRes,
BOOL bRegister, /* struct _ATL_REGMAP_ENTRY* */ void* pMapEntries, /* IRegistrar* */ void* pReg)
{
HINSTANCE hInst = pM->m_hInst;
/* everything inside this function below this point
* should go into atl71.AtlUpdateRegistryFromResourceD
*/
WCHAR module_name[MAX_PATH];
GetModuleFileNameW(hInst, module_name, MAX_PATH);
FIXME("stub %p (%s), %s, %d, %p, %p\n", hInst, debugstr_w(module_name),
debugstr_w(lpszRes), bRegister, pMapEntries, pReg);
return S_OK;
}