Returns the file system path associated with the zid.
#include <fshooks.h>
int fs_mapzidtopath (
zid_t zid,
volid_t *volId,
unicode_t *path,
size_t *maxpathlen,
int want_volume );
(IN) Specifies the zid of the file object. A zid uniquely identifies a file within a given volume.
(IN) Points to volume ID of the volume associated with the zid.
(OUT) Points to the file system path. If NULL is passed, the system allocates a buffer of the required size.
(IN) Points to the size of the path buffer.
(IN) Specifies whether the volume name is included in the path.
If successful, returns 0. Otherwise, returns a nonzero error code.
A number of the event structures return the zid and volId of the object that was effected by the event. The fs_mapzidtopath function allows you to retrieve the file system path associated with the zid and its associated volId.