2.2.4.23 NTMS_IEDOORINFORMATION Structure

The NTMS_IEDOORINFORMATION structure defines properties specific to an insert/eject door object.

 typedef struct _NTMS_IEDOORINFORMATION {
   DWORD Number;
   DWORD State;
   unsigned short MaxOpenSecs;
   NTMS_GUID Library;
 } NTMS_IEDOORINFORMATION;

Number: The number of the doors in the library. Libraries typically have one door.

State: The state of the door. This MUST be one of the following values.

Value

Meaning

NTMS_DOORSTATE_CLOSED

0x00000001

The library door is closed.

NTMS_DOORSTATE_OPEN

0x00000002

The library door is open.

NTMS_DOORSTATE_UNKNOWN

0x00000000

The state of the library is unknown.

MaxOpenSecs: The maximum number of seconds the door is to remain open.

Library: The library that contains this door.