Returns the file system path associated with the key.
#include <fshooks.h>
int fs_mapkeytopath (
zkey_t key,
unicode_t *path,
size_t *maxpathlen,
int want_volume );
(IN) Specifies the key to the opened file.
(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 key of the object that was effected by the event. The fs_mapkeytopath function allows you to retrieve the file system path associated with the key.