You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
758 B
35 lines
758 B
// File: dllutil.h
|
|
|
|
#ifndef _DLLUTIL_H_
|
|
#define _DLLUTIL_H_
|
|
|
|
#include <shlwapi.h> // for DLLVERSIONINFO
|
|
|
|
typedef struct tagApiFcn // function pointer to API mapping
|
|
{
|
|
PVOID * ppfn;
|
|
LPSTR szApiName;
|
|
} APIFCN;
|
|
typedef APIFCN * PAPIFCN;
|
|
|
|
#ifdef __cplusplus
|
|
extern "C"
|
|
#endif
|
|
BOOL FCheckDllVersionVersion(LPCTSTR pszDll, DWORD dwMajor, DWORD dwMinor);
|
|
|
|
#ifdef __cplusplus
|
|
extern "C"
|
|
#endif
|
|
HRESULT HrGetDllVersion(LPCTSTR lpszDllName, DLLVERSIONINFO * pDvi);
|
|
|
|
#ifdef __cplusplus
|
|
extern "C"
|
|
#endif
|
|
HRESULT HrInitLpfn(APIFCN *pProcList, int cProcs, HINSTANCE* phLib, LPCTSTR pszDllName);
|
|
|
|
#ifdef __cplusplus
|
|
extern "C"
|
|
#endif
|
|
HINSTANCE NmLoadLibrary(LPCTSTR pszModule, BOOL bSystemDLL);
|
|
|
|
#endif /* _DLLUTIL_H_ */
|