summaryrefslogtreecommitdiffstats
path: root/CPP/Windows/MemoryLock.h
diff options
context:
space:
mode:
Diffstat (limited to 'CPP/Windows/MemoryLock.h')
-rwxr-xr-xCPP/Windows/MemoryLock.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/CPP/Windows/MemoryLock.h b/CPP/Windows/MemoryLock.h
new file mode 100755
index 0000000..f2e574b
--- /dev/null
+++ b/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