/* ** File: UXDDisk.h ** ** Author: Ron Hayter ** Date: 93-04-08 ** ** Purpose: An export destination DLL for disk files. ** ** Copyright (c) 1993 Seagate Software Information Management Group, Inc. */ #if !defined (UXDDISK_H) #define UXDDISK_H #if defined (__cplusplus) extern "C" { #endif // Set 1-byte structure alignment #if defined (__BORLANDC__) // Borland C/C++ #pragma option -a- #elif defined (_MSC_VER) // Microsoft Visual C++ #if _MSC_VER >= 900 // MSVC 2.x and later #pragma pack (push) #endif #pragma pack (1) #endif /********************************************/ #define UXDDiskType 0 typedef struct UXDDiskOptions { WORD structSize; char FAR *fileName; } UXDDiskOptions; #define UXDDiskOptionsSize (sizeof (UXDDiskOptions)) /********************************************/ // Reset structure alignment #if defined (__BORLANDC__) #pragma option -a. #elif defined (_MSC_VER) #if _MSC_VER >= 900 #pragma pack (pop) #else #pragma pack () #endif #endif #if defined (__cplusplus) } #endif #endif // UXDDISK_H