home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 11 Util
/
11-Util.zip
/
PMF300.ZIP
/
DSKIM.H
< prev
next >
Wrap
Text File
|
1993-02-06
|
1KB
|
48 lines
/*
dskim.h
disk handling header for pmfloppy.c
G. Bryant, 1990,1993
Delta Music Systems
Released to the public domain
Change Log
5-Feb-93 update struct to remove HUGE pointer
*/
// DskImage 2.0, Gregory Bryant
//
// released to the public domain
//
#define BSPBLK BIOSPARAMETERBLOCK
#define BUFFERNMSZ 8
#define VOLUMENMSZ 11
#define FILENMSZ 80
#define BUSY 0xFFFF
#define BUSY_READ 0x0001
#define BUSY_WRITE 0x0002
#define BUSY_SAVE 0x0004
#define BUSY_LOAD 0x0008
#define BUSY_COMP 0x0010
typedef struct _DskImage {
USHORT Percent; // percent completion
BOOL Busy; // Busy flag
CHAR DriveID[1]; // Drive letter
USHORT FormatOptions;// Bit map indicating formatting choice
CHAR Volume[VOLUMENMSZ]; // Volume Name
CHAR BufferName[BUFFERNMSZ];// Image Buffer Name
CHAR FileName[FILENMSZ]; // Image file Name
BSPBLK DskParms; // from sourceParms
PBYTE DskSel; // selector for huge pointer to track buffer
PTRACKLAYOUT DskLayout; // from sourceLayout
USHORT usLayoutSize; // from sizeofLayoutElement
} DskImage;