static VOID SrvNotifyStateCancel_inlock( PSRV_CHANGE_NOTIFY_STATE_SMB_V1 pNotifyState ) { if (pNotifyState->pAcb && pNotifyState->pAcb->AsyncCancelContext) { IoCancelAsyncCancelContext(pNotifyState->pAcb->AsyncCancelContext); } }
static VOID SrvCancelNotifyState_SMB_V2_inlock( PSRV_NOTIFY_STATE_SMB_V2 pNotifyState ) { if (pNotifyState->pAcb && pNotifyState->pAcb->AsyncCancelContext) { IoCancelAsyncCancelContext(pNotifyState->pAcb->AsyncCancelContext); IoDereferenceAsyncCancelContext( &pNotifyState->pAcb->AsyncCancelContext); } }