Correct AtlModuleAddTermFunc prototype.

This commit is contained in:
Vincent Béron 2005-10-18 10:34:21 +00:00 committed by Alexandre Julliard
parent 6727c52f3b
commit 0be88a04a8
3 changed files with 4 additions and 3 deletions

View File

@ -107,7 +107,7 @@ HRESULT WINAPI AtlModuleTerm(_ATL_MODULEA* pM)
return S_OK; return S_OK;
} }
HRESULT WINAPI AtlModuleAddTermFunc(_ATL_MODULEW *pM, _ATL_TERMFUNC pFunc, DWORD dw) HRESULT WINAPI AtlModuleAddTermFunc(_ATL_MODULEW *pM, _ATL_TERMFUNC *pFunc, DWORD_PTR dw)
{ {
_ATL_TERMFUNC_ELEM *termfunc_elem; _ATL_TERMFUNC_ELEM *termfunc_elem;

View File

@ -63,7 +63,7 @@ typedef struct _ATL_OBJMAP_ENTRYW_TAG
typedef struct _ATL_TERMFUNC_ELEM_TAG typedef struct _ATL_TERMFUNC_ELEM_TAG
{ {
_ATL_TERMFUNC* pFunc; _ATL_TERMFUNC* pFunc;
DWORD dw; DWORD_PTR dw;
struct _ATL_TERMFUNC_ELEM_TAG* pNext; struct _ATL_TERMFUNC_ELEM_TAG* pNext;
} _ATL_TERMFUNC_ELEM; } _ATL_TERMFUNC_ELEM;
@ -145,7 +145,7 @@ HRESULT WINAPI AtlAdvise(IUnknown *pUnkCP, IUnknown *pUnk, const IID * iid, LPDW
HRESULT WINAPI AtlFreeMarshalStream(IStream *pStream); HRESULT WINAPI AtlFreeMarshalStream(IStream *pStream);
HRESULT WINAPI AtlInternalQueryInterface(LPVOID pThis, const _ATL_INTMAP_ENTRY* pEntries, REFIID iid, LPVOID* ppvObject); HRESULT WINAPI AtlInternalQueryInterface(LPVOID pThis, const _ATL_INTMAP_ENTRY* pEntries, REFIID iid, LPVOID* ppvObject);
HRESULT WINAPI AtlMarshalPtrInProc(IUnknown *pUnk, const IID *iid, IStream **ppStream); HRESULT WINAPI AtlMarshalPtrInProc(IUnknown *pUnk, const IID *iid, IStream **ppStream);
HRESULT WINAPI AtlModuleAddTermFunc(_ATL_MODULEW *pM, _ATL_TERMFUNC pFunc, DWORD dw); HRESULT WINAPI AtlModuleAddTermFunc(_ATL_MODULEW *pM, _ATL_TERMFUNC *pFunc, DWORD_PTR dw);
HRESULT WINAPI AtlModuleInit(_ATL_MODULEA* pM, _ATL_OBJMAP_ENTRYA* p, HINSTANCE h); HRESULT WINAPI AtlModuleInit(_ATL_MODULEA* pM, _ATL_OBJMAP_ENTRYA* p, HINSTANCE h);
HRESULT WINAPI AtlModuleRegisterClassObjects(_ATL_MODULEA* pM, DWORD dwClsContext, DWORD dwFlags); HRESULT WINAPI AtlModuleRegisterClassObjects(_ATL_MODULEA* pM, DWORD dwClsContext, DWORD dwFlags);
HRESULT WINAPI AtlModuleRegisterServer(_ATL_MODULEW* pM, BOOL bRegTypeLib, const CLSID* pCLSID); HRESULT WINAPI AtlModuleRegisterServer(_ATL_MODULEW* pM, BOOL bRegTypeLib, const CLSID* pCLSID);

View File

@ -234,6 +234,7 @@ _ATL_INTMAP_ENTRY *
_ATL_MODULEA * _ATL_MODULEA *
_ATL_MODULEW * _ATL_MODULEW *
_ATL_OBJMAP_ENTRYA * _ATL_OBJMAP_ENTRYA *
_ATL_TERMFUNC *
CLSID * CLSID *
IID * IID *
IRegistrar * IRegistrar *