Initializes a new directory enumeration mark.
#include <nks/dirio.h> int NXDirMarkInit ( NXHandle_t handle, NXDirMark_t *dirMark);
(IN) Specifies the handle for the directory enumeration operation, as returned by NXDirEnumStart.
(OUT) Points to the new directory enumeration mark.
If successful, returns 0. Otherwise, returns a nonzero error code:
NXDirMarkInit initializes a variable of type NXDirMark_t, which is a new directory enumeration mark for use in calling NXDirEnumGetEntries. In order to get an entry, a new directory enumeration mark must be initialized. Because the path context (including the pathname format) can have an integral relationship with the structure to be initialized, the handle parameter must be specified.