aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/nt_path_converter/control_codes.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/nt_path_converter/control_codes.h')
-rw-r--r--src/nt_path_converter/control_codes.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/nt_path_converter/control_codes.h b/src/nt_path_converter/control_codes.h
new file mode 100644
index 0000000..b81de84
--- /dev/null
+++ b/src/nt_path_converter/control_codes.h
@@ -0,0 +1,12 @@
+/**
+ * \file
+ * \author Egor Tensin <Egor.Tensin@gmail.com>
+ * \copyright This file is licensed under the terms of the MIT License.
+ * See LICENSE.txt for details.
+ */
+
+#pragma once
+
+#include <ntddk.h>
+
+#define CONVERT_NT_PATH CTL_CODE(0x8000, 0x800, METHOD_BUFFERED, FILE_ANY_ACCESS)