Correct AtlModuleAddTermFunc prototype.
This commit is contained in:
parent
6727c52f3b
commit
0be88a04a8
|
@ -107,7 +107,7 @@ HRESULT WINAPI AtlModuleTerm(_ATL_MODULEA* pM)
|
|||
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;
|
||||
|
||||
|
|
|
@ -63,7 +63,7 @@ typedef struct _ATL_OBJMAP_ENTRYW_TAG
|
|||
typedef struct _ATL_TERMFUNC_ELEM_TAG
|
||||
{
|
||||
_ATL_TERMFUNC* pFunc;
|
||||
DWORD dw;
|
||||
DWORD_PTR dw;
|
||||
struct _ATL_TERMFUNC_ELEM_TAG* pNext;
|
||||
} _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 AtlInternalQueryInterface(LPVOID pThis, const _ATL_INTMAP_ENTRY* pEntries, REFIID iid, LPVOID* ppvObject);
|
||||
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 AtlModuleRegisterClassObjects(_ATL_MODULEA* pM, DWORD dwClsContext, DWORD dwFlags);
|
||||
HRESULT WINAPI AtlModuleRegisterServer(_ATL_MODULEW* pM, BOOL bRegTypeLib, const CLSID* pCLSID);
|
||||
|
|
|
@ -234,6 +234,7 @@ _ATL_INTMAP_ENTRY *
|
|||
_ATL_MODULEA *
|
||||
_ATL_MODULEW *
|
||||
_ATL_OBJMAP_ENTRYA *
|
||||
_ATL_TERMFUNC *
|
||||
CLSID *
|
||||
IID *
|
||||
IRegistrar *
|
||||
|
|
Loading…
Reference in New Issue