home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tricks of the Windows Gam…ming Gurus (2nd Edition)
/
Disc2.iso
/
vc98
/
include
/
convdll.h
< prev
next >
Wrap
C/C++ Source or Header
|
1998-04-25
|
1KB
|
51 lines
// --convdll.h------------------------------------------------------------------
//
// Defines the DLL access class
//
// Copyright 1986 - 1998 Microsoft Corporation. All Rights Reserved.
//
// -----------------------------------------------------------------------------
#if !defined(_CONVDLL_H)
#define _CONVDLL_H
//$$--CEDKConvDll---------------------------------------------------------------
//
// DESCRIPTION: class that manages loading DLLs.
//
// ---------------------------------------------------------------------------
class CEDKConvDll
{
public:
CEDKConvDll(
IN CDllEntryPoint * pep,
IN HANDLE hEventSource) ;
~CEDKConvDll() ;
HRESULT HrEDKLoad() ;
HRESULT HrEDKUnLoad() ;
HRESULT HrEDKQueryCapability(
IN PEDKCNVENV pEnv,
IN LPCWSTR pszContentClass,
IN PVOID pContent,
OUT BOOL &bAmCandidate) ;
HRESULT HrEDKConvert(
IN PEDKCNVENV pEnv,
IN LPCWSTR pszContentClass,
IN PVOID pContentIn,
OUT PVOID pContentOut,
OUT EDKCNVRES & crResult) ;
protected:
CDllEntryPoint * m_pepEntry ; // DLL and entry pont.
HINSTANCE m_hDll ; // DLL handle.
PCONVDLLVECT m_pDllVector ; // Vector.
HANDLE m_hEventSource ;
} ;
#endif