mirror of
https://github.com/sheumann/NetDisk.git
synced 2025-01-14 20:30:09 +00:00
dcc069d5b8
At the moment, the auto-detection of DOS vs. ProDOS order is just based on the size of the image (i.e. 5.25" images are DOS-order, anything else is ProDOS-order).
31 lines
629 B
C
31 lines
629 B
C
#ifndef MOUNTURL_H
|
|
#define MOUNTURL_H
|
|
|
|
#include "netdiskerror.h"
|
|
|
|
/* Custom DControl code and request code for MountURL operation */
|
|
#define MountURL 0x8080
|
|
|
|
#define NETDISK_REQUEST_NAME "\pSTH~NetDisk~"
|
|
|
|
/* Bits in flags */
|
|
#define flgUseCache 0x0001
|
|
|
|
enum DiskImageFormat {
|
|
formatAutoDetect = 0,
|
|
format2mg,
|
|
formatRaw,
|
|
formatDOSOrder
|
|
};
|
|
|
|
struct MountURLRec {
|
|
Word byteCount;
|
|
enum NetDiskError result; /* output value */
|
|
char *url; /* C-string; will be modified */
|
|
Word flags;
|
|
enum DiskImageFormat format; /* input/output value */
|
|
Word devNum; /* output value: device number */
|
|
};
|
|
|
|
#endif
|