mirror of https://github.com/lianthony/NT4.0
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
1.5 KiB
56 lines
1.5 KiB
#ifndef _AETC_H_
|
|
#define _AETC_H_
|
|
|
|
//=============================================================================
|
|
//
|
|
// (c) Copyright Wang Laboratories, Inc. 1995 All rights reserved.
|
|
//
|
|
//=============================================================================
|
|
//
|
|
// Project: Wang Image Viewer
|
|
//
|
|
// Component: OLE Automation
|
|
//
|
|
// File Name: aetc.h - Etc. Header
|
|
//
|
|
//
|
|
//
|
|
//=============================================================================
|
|
|
|
|
|
//-----------------------------> Declarations <-------------------------------------
|
|
|
|
|
|
class CAAppObj;
|
|
class CAImageFileObj;
|
|
class CAPageObj;
|
|
class CAPageRangeObj;
|
|
|
|
enum TypeOfDescription
|
|
{
|
|
FILESPEC, // File specification (path & name)
|
|
NAME, // Name only, no path
|
|
PATH // Path only, no name
|
|
};
|
|
|
|
HRESULT GetImageFileObjSetVar( CAAppObj FAR * const pAppObj,
|
|
VARIANT FAR * const pVar );
|
|
|
|
void GetAppObjSetVar( CAAppObj FAR * const pAppObj,
|
|
VARIANT FAR * const pVar );
|
|
|
|
HRESULT SetAutoError( const SCODE scode,
|
|
VARIANT FAR * const pVar,
|
|
CAAppObj FAR * const pAppObj );
|
|
|
|
HRESULT SetBSTRVar( CString FAR & rSt,
|
|
VARIANT FAR * const pVar,
|
|
CAAppObj * const pAppObj );
|
|
|
|
void GetNameOrPath( CString FAR & rSt,
|
|
TypeOfDescription iType );
|
|
|
|
HRESULT GetRegSvr32Name( CString FAR & rString,
|
|
TypeOfDescription iType );
|
|
|
|
#endif
|