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.

57 lines
1.3 KiB

  1. /****************************************************************************
  2. INTEL CORPORATION PROPRIETARY INFORMATION
  3. Copyright (c) 1992-1993 Intel Corporation
  4. All Rights Reserved
  5. This software is supplied under the terms of a license
  6. agreement or non-disclosure agreement with Intel Corporation
  7. and may not be copied or disclosed except in accordance
  8. with the terms of that agreement
  9. $Source: q:/prism/include/rcs/apiutils.h $
  10. $Revision: 1.0 $
  11. $Date: 06 Mar 1996 09:01:48 $
  12. $Author: LCARROLL $
  13. $Locker: $
  14. Description
  15. -----------
  16. Utility API header file.
  17. ****************************************************************************/
  18. #ifndef APIUTILS_H
  19. #define APIUTILS_H
  20. #ifdef __cplusplus
  21. extern "C" { // Assume C declarations for C++.
  22. #endif // __cplusplus
  23. // ll.c ---------------------------------------------------------------
  24. //
  25. // The following are used by the DLL loader utilities.
  26. //
  27. typedef LPBYTE FAR *ptaPtrs;
  28. typedef HINSTANCE thDLL;
  29. extern thDLL LL_LoadDLL
  30. (
  31. LPSTR pzDLLName, // Path\name of DLL to be loaded.
  32. ptaPtrs papzFunctNames, // List of ptrs to DLL function names to resolve.
  33. ptaPtrs papFunct // Will be list of ptrs to functions in DLL.
  34. );
  35. extern UINT LL_UnloadDLL
  36. (
  37. thDLL hDLL // Handle of DLL to unload.
  38. );
  39. #ifdef __cplusplus
  40. } // End of extern "C" {
  41. #endif // __cplusplus
  42. #endif // APIUTILS_H