Cancels a previously scheduled light-weight work item.
#include <nks/thread.h> int NXLwWorkCancel ( NXLwWork_t *work);
(IN) Points to a previously scheduled light-weight work item.
If successful, returns 0; otherwise, returns a nonzero error code:
An NKS light-weight work item is similar to a NetWare work-to-do item.
A light-weight work item can be canceled only if it has not started executing. See NXWorkSchedule for the normal NKS work scheduling function.