Files
Cyd 2b8ca921cb Initial full mirror of c:\VWE (source + assets + toolchain + outputs) via Git LFS
Complete disaster-recovery snapshot: engine/game source, game data assets,
VC6 toolchain + DX SDKs, build outputs, deployed game, and _UNUSED archive.
Large binaries in Git LFS; text preserved byte-for-byte (core.autocrlf=false,
no eol attributes). See RECOVERY.md for the one-clone rebuild procedure.
2026-06-24 21:28:16 -05:00

55 lines
1.6 KiB
C++

// --convengn.h-----------------------------------------------------------------
//
// Defines main conversion engine class.
//
// Copyright 1986 - 1998 Microsoft Corporation. All Rights Reserved.
//
// -----------------------------------------------------------------------------
#if !defined(_CONVENGN_H)
#define _CONVENGN_H
//$$--CEDKConvEng---------------------------------------------------------------
//
// DESCRIPTION: Conversion engine class. Performs all convresions.
//
// ---------------------------------------------------------------------------
class CEDKConvEng
{
public:
CEDKConvEng() ;
HRESULT HrEDKInitialize( // RETURNS: HRESULT
IN HANDLE hEventSource) ; // event source handle
HRESULT HrEDKConvert( // RETURNS: HRESULT
IN PEDKCNVENV pEnv,
IN LPCWSTR pszContentClass,
IN PVOID pContentIn,
OUT PVOID pContentOut,
OUT EDKCNVRES & crResult) ;
HRESULT HrEDKUninitialize( // RETURNS: HRESULT
) ;
protected:
// helper
HRESULT HrEDKAttemptConversion( // RETURNS: HRESULT
IN PEDKCNVENV pEnv,
IN LPCWSTR pszContentClass,
IN LPCWSTR pszConversionPoint,
IN PVOID pContentIn,
OUT PVOID pContentOut,
OUT EDKCNVRES & crResult) ;
CDllEntryPoint * m_pepConverter ; // current converter.
CEDKConvReg m_crRegistry ; // conversion registry.
HANDLE m_hEventSource ;
BOOL m_bFoundAtLeastOneAccept ;
} ;
#endif