NTMS_IEPORTINFORMATION

[This is preliminary documentation and subject to change.]

The NTMS_IEPORTINFORMATION data structure defines properties specific to an insert/eject port object.

typedef struct _NTMS_IEPORTINFORMATION {
    DWORD      Number;
    DWORD      Content;
    DWORD      Position;
    WORD       MaxExtendSecs;
    NTMS_GUID  Library;
} NTMS_IEPORTINFORMATION;
 

Members

Number
The library port number.
Content
Full/Empty state of the NTMS_IEPORT object. This can be one of the following values.
Value Meaning
NTMS_PORTCONTENT_FULL Port is full.
NTMS_PORTCONTENT_EMPTY Port is empty.
NTMS_PORTCONTENT_UNKNOWN Content of port is not known.

Position
Position of the NTMS_IEPORT object. This can be one of the following values.
Value Meaning
NTMS_PORTPOSITION_EXTENDED Port is extended.
NTMS_PORTPOSITION_RETRACTED Port is retracted.
NTMS_PORTPOSITION_UNKNOWN Port position is unknown.

MaxExtendSecs
Maximum number of seconds the port is allowed to remain open before an operator request is issued. Valid values are between 0 and 65,535 seconds. This member is writable.
Library
Library that contains the port.

Remarks

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

QuickInfo

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