共用方式為


NTMS_IEDOORINFORMATION Structure

[Removable Storage Manager is no longer available as of Windows 7 and Windows Server 2008 R2.]

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

Syntax

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 structure is included in the NTMS_OBJECTINFORMATION structure.

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

Requirements

Minimum supported client

Windows 2000 Professional

Minimum supported server

Windows 2000 Server

End of client support

Windows Vista

End of server support

Windows Server 2008

Header

Ntmsapi.h

See Also

NTMS_OBJECTINFORMATION

 

 

Send comments about this topic to Microsoft

Build date: 6/9/2011