home *** CD-ROM | disk | FTP | other *** search
/ PC Format (South-Africa) 2001 June / PCFJune.iso / Xenon / C++ / FreeCommandLineTools.exe / Include / convdll.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-01-31  |  1.4 KB  |  53 lines

  1. // --convdll.h------------------------------------------------------------------
  2. // 
  3. // Defines the DLL access class
  4. //
  5. // Copyright 1986 - 1998 Microsoft Corporation.  All Rights Reserved.
  6. //
  7. // -----------------------------------------------------------------------------
  8.  
  9. #if !defined(_CONVDLL_H)
  10. #pragma option push -b -a8 -pc -A- /*P_O_Push*/
  11. #define _CONVDLL_H
  12.  
  13. //$$--CEDKConvDll---------------------------------------------------------------
  14. //
  15. //  DESCRIPTION: class that manages loading DLLs.
  16. //
  17. // ---------------------------------------------------------------------------
  18. class CEDKConvDll
  19. {
  20. public:
  21.     CEDKConvDll(
  22.         IN CDllEntryPoint * pep, 
  23.         IN HANDLE hEventSource) ;
  24.     ~CEDKConvDll() ;
  25.  
  26.     HRESULT HrEDKLoad() ;
  27.     HRESULT HrEDKUnLoad() ;
  28.  
  29.     HRESULT HrEDKQueryCapability(
  30.         IN PEDKCNVENV pEnv,
  31.         IN LPCWSTR pszContentClass,
  32.         IN PVOID pContent,
  33.         OUT BOOL &bAmCandidate) ;
  34.  
  35.     HRESULT HrEDKConvert(
  36.         IN PEDKCNVENV pEnv,
  37.         IN LPCWSTR pszContentClass,
  38.         IN PVOID pContentIn,
  39.         OUT PVOID pContentOut,
  40.         OUT EDKCNVRES & crResult) ;
  41.  
  42. protected:
  43.     CDllEntryPoint * m_pepEntry ;       // DLL and entry pont.
  44.     
  45.     HINSTANCE m_hDll ;                     // DLL handle.
  46.  
  47.     PCONVDLLVECT m_pDllVector ;         // Vector.
  48.     HANDLE m_hEventSource ;
  49. } ; 
  50.  
  51. #pragma option pop /*P_O_Pop*/
  52. #endif
  53.