diff options
Diffstat (limited to 'CPP/Windows/MemoryLock.cpp')
-rwxr-xr-x | CPP/Windows/MemoryLock.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/CPP/Windows/MemoryLock.cpp b/CPP/Windows/MemoryLock.cpp index 284c832c..e0f43099 100755 --- a/CPP/Windows/MemoryLock.cpp +++ b/CPP/Windows/MemoryLock.cpp @@ -5,6 +5,8 @@ namespace NWindows { namespace NSecurity { +#ifndef UNDER_CE + #ifndef _UNICODE typedef BOOL (WINAPI * OpenProcessTokenP)(HANDLE ProcessHandle, DWORD DesiredAccess, PHANDLE TokenHandle); typedef BOOL (WINAPI * LookupPrivilegeValueP)(LPCTSTR lpSystemName, LPCTSTR lpName, PLUID lpLuid); @@ -75,4 +77,6 @@ bool EnableLockMemoryPrivilege(bool enable) } #endif +#endif + }} |