home *** CD-ROM | disk | FTP | other *** search
- /*
- |
- | Systems Compatibility Corporation
- | ViewAPI specification
- | C include file (requires windows.h)
- |
- */
-
- #define SCCVAPI_INIT 1
- #define SCCVAPI_CREATE 2
- #define SCCVAPI_VIEW 3
- #define SCCVAPI_DESTROY 4
- #define SCCVAPI_DEINIT 5
- #define SCCVAPI_EXIST 6
- #define SCCVAPI_PRINT 7
- #define SCCVAPI_GETLEVEL 8
-
- #define SCCVAPI_VIEWASASCII 4000
- #define SCCVAPI_VIEWASHEX 4001
- #define SCCVAPI_VIEWASANSI 4002
- #define SCCVAPI_VIEWASUNICODE 4003
- #define SCCVAPI_VIEWASASCII8 4004
- #define SCCVAPI_VIEWASDONTVIEW 4005
- #define SCCVAPI_VIEWASDONTVIEW 4006
- #define SCCVAPI_VIEWASMAC 4007
- #define SCCVAPI_VIEWASMAC8 4008
-
- typedef struct SCCVAPIINITtag
- {
- WORD wSize;
- BYTE szHeader[40];
- } SCCVAPIINIT;
-
- typedef struct SCCVAPIVIEWtag
- {
- WORD wSize;
- HWND hViewWnd;
- BYTE szPathName[255];
- WORD wViewAs;
- BYTE szDisplayName[40];
- BOOL bUseDisplayName;
- BOOL bDeleteOnClose;
- } SCCVAPIVIEW;
-
- typedef struct SCCVAPICREATEtag
- {
- WORD wSize;
- BOOL bShowToolbar;
- BOOL bAllowLaunch;
- BOOL bAllowPrint;
- BOOL bAllowCopy;
- BOOL bAllowSearch;
- } SCCVAPICREATE;
-
- typedef struct SCCVAPIPRINTtag
- {
- WORD wSize;
- HWND hViewWnd;
- BOOL bDoDialog;
- } SCCVAPIPRINT;
-
- typedef SCCVAPIINIT FAR * LPSCCVAPIINIT;
- typedef SCCVAPIVIEW FAR * LPSCCVAPIVIEW;
- typedef SCCVAPICREATE FAR * LPSCCVAPICREATE;
- typedef SCCVAPIPRINT FAR * LPSCCVAPIPRINT;
-
- typedef DWORD (FAR PASCAL * SCCVAPIPROC)(WORD,HANDLE,VOID FAR *);
-
-