CDMInfoStruct
Used by CDM to store generic information.
Syntax
struct CDMInfoStruct
{
LONG loadHandle;
LONG novellAssignedModuleID;
WORD haType;
BYTE deviceType;
BYTE cdmtype;
LONG functionMask;
LONG controlMask;
LONG reserved[3];
};
Fields
- loadHandle
- The OS assigns the value of this parameter when
it receives a command line request to load the CDM. Its value is
the CDM's load handle, and the OS uses this handle to keep track
of the CDM.
- novellAssignedModuleID
- Unique ID for this CDM. These IDs re assigned to
a vendor upon request from Developer Services.
- haType
- A 1-WORD field to contain a value representing the
adapter type this HAM supports. The following is a list of possible
values:
- deviceType
- A 1-byte field containing a value representing the
type of device that the inquiry data describes. NWPA uses the same
codes for device types as SCSI. The following is NWPA list of device types:
- cdmType
- Possible values for CDM types:
- functionMask
- A 32-bit mask indicating the I/O functions
the CDM supports for this device.
For a list of the I/O function operation codes, see
Media Manager Overview.
- controlMask
- A 32-bit mask indicating the control functions the
CDM supports for this device.
For a list of the control function operation codes, see Media
Manager Control
Function Operation Codes.
- Reserved
- Reserved for future use.