Add a definition for _ATL_REGMAP_ENTRY in atlbase.h.

Fix the prototype of AtlModuleUpdateRegistryFromResourceD() so it uses
the right pointer types.
This commit is contained in:
Francois Gouget 2005-04-22 19:04:18 +00:00 committed by Alexandre Julliard
parent 333e49d78b
commit 00f72a32fd
3 changed files with 10 additions and 1 deletions

View File

@ -32,6 +32,7 @@
#include "objidl.h"
#include "ole2.h"
#include "atlbase.h"
#include "atliface.h"
WINE_DEFAULT_DEBUG_CHANNEL(atl);
@ -169,7 +170,7 @@ HRESULT WINAPI AtlInternalQueryInterface(LPVOID this, const _ATL_INTMAP_ENTRY* p
*
*/
HRESULT WINAPI AtlModuleUpdateRegistryFromResourceD(_ATL_MODULEW* pM, LPCOLESTR lpszRes,
BOOL bRegister, /* struct _ATL_REGMAP_ENTRY* */ void* pMapEntries, /* IRegistrar* */ void* pReg)
BOOL bRegister, struct _ATL_REGMAP_ENTRY* pMapEntries, IRegistrar* pReg)
{
HINSTANCE hInst = pM->m_hInst;
/* everything inside this function below this point

View File

@ -128,6 +128,12 @@ typedef struct _ATL_INTMAP_ENTRY_TAG
_ATL_CREATORARGFUNC* pFunc;
} _ATL_INTMAP_ENTRY;
struct _ATL_REGMAP_ENTRY
{
LPCOLESTR szKey;
LPCOLESTR szData;
};
HRESULT WINAPI AtlModuleInit(_ATL_MODULEA* pM, _ATL_OBJMAP_ENTRYA* p, HINSTANCE h);
HRESULT WINAPI AtlModuleRegisterClassObjects(_ATL_MODULEA* pM, DWORD dwClsContext, DWORD dwFlags);
HRESULT WINAPI AtlModuleUnregisterServerEx(_ATL_MODULEA* pM, BOOL bUnRegTypeLib, const CLSID* pCLSID);

View File

@ -196,6 +196,7 @@ _ATL_MODULEW *
_ATL_OBJMAP_ENTRYA *
CLSID *
IID *
IRegistrar *
IStream *
IStream **
IUnknown *
@ -205,6 +206,7 @@ LPVOID
LPVOID *
REFCLSID
REFIID
struct _ATL_REGMAP_ENTRY *
void *
%str