From 3a65665d36022c50637fc53d5c9c1ee022c5b3b5 Mon Sep 17 00:00:00 2001 From: isanae <14251494+isanae@users.noreply.github.com> Date: Mon, 10 Feb 2020 10:51:23 -0500 Subject: wstring_view when possible first implementation of NtQueryDirectoryFile --- src/envfs.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 src/envfs.h (limited to 'src/envfs.h') diff --git a/src/envfs.h b/src/envfs.h new file mode 100644 index 00000000..aeaa6796 --- /dev/null +++ b/src/envfs.h @@ -0,0 +1,17 @@ +#ifndef ENV_ENVFS_H +#define ENV_ENVFS_H + +namespace env +{ + +using DirStartF = void (void*, std::wstring_view); +using DirEndF = void (void*, std::wstring_view); +using FileF = void (void*, std::wstring_view, FILETIME); + +void forEachEntry( + const std::wstring& path, void* cx, + DirStartF* dirStartF, DirEndF* dirEndF, FileF* fileF); + +} // namespace + +#endif // ENV_ENVFS_H -- cgit v1.3.1