Freigeben über


SatisfyNtmsOperatorRequest Function

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

The SatisfyNtmsOperatorRequest function completes the specified RSM operator request.

Syntax

DWORD SatisfyNtmsOperatorRequest(
  __in  HANDLE hSession,
  __in  LPNTMS_GUID lpRequestId
);

Parameters

Return Value

This function returns one of the following values.

Value Meaning
ERROR_ACCESS_DENIED

The user that tried to execute this function does not have administrator privileges. Only an administrator of the RSM server can satisfy operator requests.

ERROR_OBJECT_NOT_FOUND

The operator request object ID was not found. This error occurs if the request is completed before the operation has been satisfied or when an request ID that is not valid is specified.

ERROR_SUCCESS

The operator request has been satisfied.

 

Remarks

If an application detects that the operator did not acknowledge a satisfied operator request, the application can use the SatisfyNtmsOperatorRequest function to remove the request.

For a list of the existing operator requests to cancel with the SatisfyNtmsOperatorRequest function, see the EnumerateNtmsObject function.

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

Library

Ntmsapi.lib

DLL

Ntmsapi.dll

See Also

Operator Request Functions

CancelNtmsOperatorRequest

SubmitNtmsOperatorRequest

WaitForNtmsOperatorRequest

 

 

Send comments about this topic to Microsoft

Build date: 6/9/2011