NTMS_IEDOORINFORMATION

[This is preliminary documentation and subject to change.]

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

typedef struct _NTMS_IEDOORINFORMATION {
    WORD         Number;
    WORD         State;
    WORD         MaxOpenSecs;
    NTMS_GUID    Library
} NTMS_IEDOORINFORMATION;
 

Members

Number
Number of the door in the library. Typically, libraries have one door.
State
State of the door. This can be one of the following values.
Value Meaning
NTMS_DOORSTATE_CLOSED Library door is closed.
NTMS_DOORSTATE_OPEN Library door is open.
NTMS_DOORSTATE_UNKNOWN State of the library is unknown.

MaxOpenSecs
Maximum number of seconds the door is to remain open. Valid values are between 0-65,535 seconds This member is writable.
Library
Library that contains this door.

Remarks

The NTMS_IEDOORINFORMATION data structure is part of the NTMS_OBJECTINFORMATION structure used for the GetNtmsObjectInformation and SetNtmsObjectInformation functions.

If the MaxOpenSecs member is zero, an operator request to close the door is generated as soon as the door is open.

QuickInfo

  Windows NT: Requires version 5.0 or later.
  Windows: Unsupported.
  Windows CE: Unsupported.
  Header: Declared in ntmsapi.h.
  Import Library: Use ntmsapi.lib.