47 #if PRAGMA_STRUCT_ALIGN
48 #pragma options align = mac68k
49 #elif PRAGMA_STRUCT_PACKPUSH
51 #elif PRAGMA_STRUCT_PACK
64 kReturnFormatList = 6,
139 #define GetDrvStsPtrFromDrvQElPtr(driveQElement) \
140 ((DrvSts *)((BytePtr)driveQElement - offsetof(DrvSts, qLink)))
141 #define GetDrvSts2PtrFromDrvQElPtr(driveQElement) \
142 ((DrvSts2 *)((BytePtr)driveQElement - offsetof(DrvSts2, qLink)))
145 kdqManualEjectBit = 5
148 #if CALL_NOT_IN_CARBON
149 #if CALL_NOT_IN_CARBON
187 #if CALL_NOT_IN_CARBON
209 #if CALL_NOT_IN_CARBON
210 #if CALL_NOT_IN_CARBON
248 Boolean locked, oneSide, empty;
250 qep = (
DrvQEl *)qhp->qHead;
251 printf(
"Drv# FileSys Blocks locked 1-sided empty\n");
257 * \copyright THINK Reference © 1991 - 1992 Symantec Corporation
258 * \non_carbon_cfm in InterfaceLib 7.1 and
260 * \carbon_lib not available * \mac_os_x not available *
277 drvStsCode = kDriveStatus
286 tgBuffCode = kSetTagBuffer
299 #if PRAGMA_STRUCT_ALIGN
300 #pragma options align = reset
301 #elif PRAGMA_STRUCT_PACKPUSH
303 #elif PRAGMA_STRUCT_PACK
307 #ifdef PRAGMA_IMPORT_OFF
long totBlks
Obtain pointer to the drive queue header.
Definition: Disks.h:247
OSErr DiskEject(short drvNum)
OSErr SetTagBuffer(void *buffPtr)
void AddDrive(short drvrRefNum, short drvNum, DrvQElPtr qEl)
Add a drive to the drive queue.
OSErr DriveStatus(short drvNum, DrvSts *status)
File Manager (MFS, HFS, and HFS+) Interfaces.
printf("First vcb is at = %lx\n", qhp->qHead)
Obtain pointer to the volume control block queue header.
Basic Macintosh data types.
unsigned char Boolean
Definition: MacTypes.h:318
Definition: OSUtils.h:131
Definition: OSUtils.h:154