summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/lzma/CPP/Windows/MemoryLock.h
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2015-01-11 08:10:25 +0100
committer Miodrag Milanovic <mmicko@gmail.com>2015-01-11 08:10:25 +0100
commit6a23c2f3b766cf4fc7028628f76b5ff9396383f0 (patch)
treea01e16637118ae0c80f337119898bdf18f081e24 /3rdparty/lzma/CPP/Windows/MemoryLock.h
parent45ac9b351e0076c371de4c7453f59567b27b1cb6 (diff)
Added full lzma sdk source (nw)
Diffstat (limited to '3rdparty/lzma/CPP/Windows/MemoryLock.h')
-rw-r--r--3rdparty/lzma/CPP/Windows/MemoryLock.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/3rdparty/lzma/CPP/Windows/MemoryLock.h b/3rdparty/lzma/CPP/Windows/MemoryLock.h
new file mode 100644
index 00000000000..5fe619de05f
--- /dev/null
+++ b/3rdparty/lzma/CPP/Windows/MemoryLock.h
@@ -0,0 +1,15 @@
+// Windows/MemoryLock.h
+
+#ifndef __WINDOWS_MEMORYLOCK_H
+#define __WINDOWS_MEMORYLOCK_H
+
+namespace NWindows {
+namespace NSecurity {
+
+#ifndef UNDER_CE
+bool EnableLockMemoryPrivilege(bool enable = true);
+#endif
+
+}}
+
+#endif