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.

56 lines
2.1 KiB

  1. /////////////////////////////////////////////////////////////////////////////////////////
  2. //
  3. // Copyright (c) 1998 Active Voice Corporation. All Rights Reserved.
  4. //
  5. // Active Agent(r) and Unified Communications(tm) are trademarks of Active Voice Corporation.
  6. //
  7. // Other brand and product names used herein are trademarks of their respective owners.
  8. //
  9. // The entire program and user interface including the structure, sequence, selection,
  10. // and arrangement of the dialog, the exclusively "yes" and "no" choices represented
  11. // by "1" and "2," and each dialog message are protected by copyrights registered in
  12. // the United States and by international treaties.
  13. //
  14. // Protected by one or more of the following United States patents: 5,070,526, 5,488,650,
  15. // 5,434,906, 5,581,604, 5,533,102, 5,568,540, 5,625,676, 5,651,054.
  16. //
  17. // Active Voice Corporation
  18. // Seattle, Washington
  19. // USA
  20. //
  21. /////////////////////////////////////////////////////////////////////////////////////////
  22. ////
  23. // loadlib.h - interface for loadlib functions in loadlib.c
  24. ////
  25. #ifndef __LOADLIB_H__
  26. #define __LOADLIB_H__
  27. #include "winlocal.h"
  28. #ifdef __cplusplus
  29. extern "C" {
  30. #endif
  31. // LoadLibraryPath - load specified module into address space of calling process
  32. // <lpLibFileName> (i) address of filename of executable module
  33. // <hInst> (i) module handle used to get library path
  34. // NULL use module used to create calling process
  35. // <dwFlags> (i) reserved; must be zero
  36. // return handle of loaded module (NULL if error)
  37. //
  38. // NOTE: This function behaves like the standard LoadLibrary(), except that
  39. // the first attempt to load <lpLibFileName> is made by constructing an
  40. // explicit path name, using GetModuleFileName(hInst, ...) to supply the
  41. // drive and directory, and using <lpLibFileName> to supply the file name
  42. // and extension. If the first attempt fails, LoadLibrary(lpLibFileName)
  43. // is called.
  44. //
  45. HINSTANCE DLLEXPORT WINAPI LoadLibraryPath(LPCTSTR lpLibFileName, HINSTANCE hInst, DWORD dwFlags);
  46. #ifdef __cplusplus
  47. }
  48. #endif
  49. #endif // __LOADLIB_H__