NTMS_OPREQUESTINFORMATIONA structure (ntmsapi.h)
[Removable Storage Manager is no longer available as of Windows 7 and Windows Server 2008 R2.]
The NTMS_OPREQUESTINFORMATION structure defines the properties specific to operator-request system control for RSM.
Syntax
typedef struct _NTMS_OPREQUESTINFORMATIONA {
DWORD Request;
SYSTEMTIME Submitted;
DWORD State;
CHAR szMessage[NTMS_MESSAGE_LENGTH];
DWORD Arg1Type;
NTMS_GUID Arg1;
DWORD Arg2Type;
NTMS_GUID Arg2;
CHAR szApplication[NTMS_APPLICATIONNAME_LENGTH];
CHAR szUser[NTMS_USERNAME_LENGTH];
CHAR szComputer[NTMS_COMPUTERNAME_LENGTH];
} NTMS_OPREQUESTINFORMATIONA;
Members
Request
Type of operator request. This can be one of the following values.
Submitted
System time when the operator request was submitted.
State
Current state of the operator service request. This can be one of the following values.
szMessage[NTMS_MESSAGE_LENGTH]
Operator message text.
Arg1Type
Type of the Arg1 object. This can be one of the following values.
Arg1
Arg1 object ID used for move requests or other operator requests that require a reference object. The purpose of this object varies based on the type of operator request. For appropriate uses of Arg1, see the Request description.
Arg2Type
Type of Arg2 object. This can be one of the following values.
Value | Meaning |
---|---|
|
No object provided in Arg2Type. |
|
Library object. |
Arg2
Arg2 object ID used for operator requests that require a second reference object. The purpose of this object varies based on the type of operator request. For appropriate uses of Arg2, see the Request description.
szApplication[NTMS_APPLICATIONNAME_LENGTH]
Application that submitted the operator request.
szUser[NTMS_USERNAME_LENGTH]
Interactive user logged on to the computer that submitted the operator request.
szComputer[NTMS_COMPUTERNAME_LENGTH]
Computer that submitted the operator request.
Remarks
The NTMS_OPREQUESTINFORMATION structure is included in the NTMS_OBJECTINFORMATION structure.
Note
The ntmsapi.h header defines NTMS_OPREQUESTINFORMATION as an alias which automatically selects the ANSI or Unicode version of this function based on the definition of the UNICODE preprocessor constant. Mixing usage of the encoding-neutral alias with code that not encoding-neutral can lead to mismatches that result in compilation or runtime errors. For more information, see Conventions for Function Prototypes.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Header | ntmsapi.h |