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:

Value

Description

1

HAM supports SCSI adapters

2

HAM supports IDE-ATA adapters

3

HAM supports custom adapters

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:

Value

Description

00

Direct access device (hard disk)

01

Sequential access device (tape)

02

Printer device

03

Processor device

04

Write once device (worm)

05

CD device

06

Scanner device

07

Optical memory device (MO)

08

Media changer device

09

Communication device

0A - 0B

Defined by ASC IT8 (Graphic Arts Pre-Press)

0C - 1E

Reserved

-1

Undefined type of device

cdmType
Possible values for CDM types:

Value

Description

0x01

Base-Translator

NOTE:These have binding priority over Generic Base-Translators

0x02

Enhancer

0x03

Filter

0x04

Generic Base-Translator

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.