2018-08-12 23:45:08 +00:00
|
|
|
#ifndef MOUNTURL_H
|
|
|
|
#define MOUNTURL_H
|
|
|
|
|
|
|
|
#include "netdiskerror.h"
|
|
|
|
|
|
|
|
/* Custom DControl code and request code for MountURL operation */
|
|
|
|
#define MountURL 0x8080
|
|
|
|
|
2018-08-13 01:51:09 +00:00
|
|
|
#define NETDISK_REQUEST_NAME "\pSTH~NetDisk~"
|
|
|
|
|
2018-10-02 03:42:33 +00:00
|
|
|
/* Bits in flags */
|
|
|
|
#define flgUseCache 0x0001
|
|
|
|
|
2018-10-08 03:22:09 +00:00
|
|
|
enum DiskImageFormat {
|
|
|
|
formatAutoDetect = 0,
|
|
|
|
format2mg,
|
|
|
|
formatRaw,
|
2018-10-18 01:14:40 +00:00
|
|
|
formatDOSOrder,
|
|
|
|
formatDiskCopy42
|
2018-10-08 03:22:09 +00:00
|
|
|
};
|
|
|
|
|
2018-08-12 23:45:08 +00:00
|
|
|
struct MountURLRec {
|
|
|
|
Word byteCount;
|
|
|
|
enum NetDiskError result; /* output value */
|
|
|
|
char *url; /* C-string; will be modified */
|
2018-10-02 03:42:33 +00:00
|
|
|
Word flags;
|
2018-10-08 03:22:09 +00:00
|
|
|
enum DiskImageFormat format; /* input/output value */
|
2018-08-15 03:40:42 +00:00
|
|
|
Word devNum; /* output value: device number */
|
2018-08-12 23:45:08 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|