Receiving Cancellations

The server application can call RpcServerTestCancel with the binding handle of the call in question to find out if the client has requested cancellation of the asynchronous call. It will return RPC_S_OK if the client canceled the call.