A client calls the rpc_ACCloseCursor method to close a cursor acquired from the rpc_ACCreateCursorEx (section 3.1.5.4) method of the qmcomm2 RPC interface.

 HRESULT rpc_ACCloseCursor(
   [in] RPC_QUEUE_HANDLE hQueue,
   [in] DWORD hCursor
 );

hQueue:  MUST contain the RPC_QUEUE_HANDLE (section 2.2.1.1.2) context handle passed to rpc_ACCreateCursorEx when the cursor specified by hCursor was created.

hCursor:  MUST contain a DWORD value obtained from the pcc.hCursor out-parameter of rpc_ACCreateCursorEx, or the reserved value 0x0000000b.

Return Values:  On success, this method MUST return MQ_OK (0x00000000); otherwise, the server MUST return a failure HRESULT,<54> and the client MUST treat all failure HRESULTs identically.

Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying RPC protocol, as specified in [MS-RPCE].

This method is invoked at the dynamically assigned endpoint returned by the R_QMGetRTQMServerPort (section 3.1.4.24) method when IP_HANDSHAKE (0x00000000) or IPX_HANDSHAKE (0x00000002) is the interface specified by the fIP parameter.

When processing this call, the server MUST: