NTMS_IEPORTINFORMATION structure (ntmsapi.h)
[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 |
---|---|
|
Port is full. |
|
Port is empty. |
|
Content of port is not known. |
Position
Position of the NTMS_IEPORT object. This can be one of the following values.
Value | Meaning |
---|---|
|
Port is extended. |
|
Port is retracted. |
|
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
Requirement | Value |
---|---|
Minimum supported client | Windows XP [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Header | ntmsapi.h |