|
| | | | N F O _ S M L _ C B
| | | | | SOURCE: qdev_structures.txt 1.10 (15/08/2014) English struct nfo_sml_cb
{
struct DosList sc_dol;
ULONG sc_fake1;
ULONG sc_wall1;
struct FileSysStartupMsg sc_fssm;
ULONG sc_fake2;
ULONG sc_wall2;
struct DosEnvec sc_de;
struct nfo_sml_data sc_sd;
ULONG sc_pflags;
ULONG sc_eflags;
LONG sc_gerror;
UBYTE *sc_file;
void *sc_userdata;
};
sc_dol - This member is only being used by the mounter. It is here to
establish just one structure that is exchangable between the
scanner and mounter.
sc_fake1 - As this structure is being allocated in one big block and the
device handling in the OS is multipointer the allocation is
faked for compatibility reasons. Must be 0!
sc_wall1 - All allocations are aligned to at least 8 bytes. Gotta fake
that too. Must be 0!
sc_fssm - Part of that fake allocation! Again, used by the mounter only!
sc_fake2 - This faked allocation is sc_de related, we emulate that pointer
too. Must be 0!
sc_wall2 - All allocations are aligned to at least 8 bytes. Gotta fake
that too. Must be 0!
sc_de - Standard mountlist related param table. Firstly established by
the scanner and then used by the mounter.
sc_sd - Additional mountblock parameters that get utilised while doing
mount.
sc_pflags
- Keyword presence flags allow to easily detect params that were
not passed through the mountblock.
sc_eflags
- Keyword error flags allow to easily detect inconsistencies just
by comparing the member against 0.
sc_gerror
- Scanner-helper error values are being reported through this
variable.
sc_file - Mountlist file name as passed to the function.
sc_userdata
- User data pointer that will be passed to the callback. Can be
whatever user wants.
| |
| | | | |
|