Freigeben über


NTMS_IEPORTINFORMATION Structure

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

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

Syntax

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

Members

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

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