Source code of Windows XP (NT5)
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.

21 lines
547 B

  1. // File: dllutil.h
  2. #ifndef _DLLUTIL_H_
  3. #define _DLLUTIL_H_
  4. #include <shlwapi.h> // for DLLVERSIONINFO
  5. typedef struct tagApiFcn // function pointer to API mapping
  6. {
  7. PVOID * ppfn;
  8. LPSTR szApiName;
  9. } APIFCN;
  10. typedef APIFCN * PAPIFCN;
  11. BOOL FCheckDllVersionVersion(LPCTSTR pszDll, DWORD dwMajor, DWORD dwMinor);
  12. HRESULT HrGetDllVersion(LPCTSTR lpszDllName, DLLVERSIONINFO * pDvi);
  13. HRESULT HrInitLpfn(APIFCN *pProcList, int cProcs, HINSTANCE* phLib, LPCTSTR pszDllName);
  14. HINSTANCE NmLoadLibrary(LPCTSTR pszModule);
  15. #endif /* _DLLUTIL_H_ */