Leaked source code of windows server 2003
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

  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. #ifdef __cplusplus
  12. extern "C"
  13. #endif
  14. BOOL FCheckDllVersionVersion(LPCTSTR pszDll, DWORD dwMajor, DWORD dwMinor);
  15. #ifdef __cplusplus
  16. extern "C"
  17. #endif
  18. HRESULT HrGetDllVersion(LPCTSTR lpszDllName, DLLVERSIONINFO * pDvi);
  19. #ifdef __cplusplus
  20. extern "C"
  21. #endif
  22. HRESULT HrInitLpfn(APIFCN *pProcList, int cProcs, HINSTANCE* phLib, LPCTSTR pszDllName);
  23. #ifdef __cplusplus
  24. extern "C"
  25. #endif
  26. HINSTANCE NmLoadLibrary(LPCTSTR pszModule, BOOL bSystemDLL);
  27. #endif /* _DLLUTIL_H_ */