#include <dcb.h> typedef struct _DCB_cd_entry { /* */ PVOID DCB_cd_io_address; // address of request routine ULONG DCB_cd_flags; // demand bits; see below ULONG DCB_cd_ddb; // driver's DDB pointer ULONG DCB_cd_next; // address of next cd entry USHORT DCB_cd_expan_off; // offset of expansion area UCHAR DCB_cd_layer_flags; // flags for layer's use UCHAR DCB_cd_lgn; // load group number } DCB_cd_entry, *pDCB_cd_entry;
Contains information about a calldown entry.
DCB_cd_flags
Can be one of these values:
DCB_dmd_srb_cdb | There must be an SRB and CDB for each IOR. |
DCB_dmd_rsrv_1 | Reserved; must be zero. |
DCB_dmd_logical | Media address must be logical and DCB must be for a logical device. |
DCB_dmd_physical | Media adresses must be physical and DCB must be for a physical device. |
DCB_dmd_small_memory | Data buffers must reside in in low 16M. |
DCB_dmd_rsrv_2 | Reserved; must be zero. |
DCB_dmd_rsrv_3 | Reserved; must be zero. |
DCB_dmd_rsrv_4 | Reserved; must be zero. |
DCB_dmd_not_512 | Sector size on the media is not 512 bytes. |
DCB_dmd_word_align | Data buffers must be word aligned. |
DCB_dmd_dword_align | Data buffers must be doubleword aligned. |
DCB_dmd_phys_sgd | Scatter/gather descriptors must contain physical addresses (they will contain linear addresses if this demand bit is not set). |
DCB_dmd_phys_sgd_ptr | Address of the first scatter/gather descriptor (IOR_sgd_lin_phys member of the IOR structure) must be a physical address (it will be a linear addresses if this demand bit is not set). |
DCB_dmd_do_a_b_toggling | For single floppy drive system, voltrack needs to do the toggling between A and B when accesses are made to these drive letters. |
DCB_dmd_query_remov | Lower level must be called to check if media is removeable/has changed. |
DCB_dmd_request_sns | Port driver cannot perform autosense. |
DCB_dmd_lock_unlock_media | Media supports software locking. |
DCB_dmd_load_eject_media | Media supports electronic eject. |
DCB_dmd_clear_media_chg | Command to clear media change. |
DCB_dmd_serialize | Layer requires request serialization. |
DCB_dmd_prot_mode | Override real mode checks for this device i.e. ATAPI cdrom. |
DCB_dmd_no_xclusive | Indicates exclusive access is not required for abs write. |
DCB_dmd_pageability | Indicates that access to this volume can cause paging. |
See also IOR