Platform SDK: Removable Storage Manager

SatisfyNtmsOperatorRequest

The SatisfyNtmsOperatorRequest function completes the specified RSM operator request.

DWORD WINAPI SatisfyNtmsOperatorRequest(
  HANDLE hSession,
  LPNTMS_GUID lpRequestId
);

Parameters

hSession
Handle to the session returned by the OpenNtmsSession function.
lpRequestId
The operator request object ID.

Return 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 invalid request ID is supplied.
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

  Windows NT/2000: Requires Windows 2000.
  Header: Declared in Ntmsapi.h.
  Library: Use Ntmsapi.lib.

See Also

Operator Request Functions, CancelNtmsOperatorRequest, SubmitNtmsOperatorRequest, WaitforNtmsOperatorRequest