Notification for actions on a file is terminated by a physical file close or an explicit call of the form:
ctNotify(opcode,objhandle,qhandle,contents,controls|ctNT_CTL_STOP);
where all the arguments must agree with a previous call to notify except that the controls parameter must include the ctNT_CTL_STOP flag.