Canceling Subscriptions

The CONTEXT_HANDLE_OPERATION_CONTROL handle is obtained at the same time a CONTEXT_HANDLE_REMOTE_SUBSCRIPTION handle is obtained by calling the EvtRpcRegisterRemoteSubscription (Opnum 0) (section method. Any calls to the EvtRpcRemoteSubscriptionNext (Opnum 2) (section, EvtRpcRemoteSubscriptionNextAsync (Opnum 1) (section, and EvtRpcRemoteSubscriptionWaitAsync (Opnum 3) (section methods using the CONTEXT_HANDLE_REMOTE_SUBSCRIPTION handle can be canceled by using the CONTEXT_HANDLE_OPERATION_CONTROL handle in a call to the EvtRpcCancel (section method.