summaryrefslogtreecommitdiffstats
path: root/win/tclWinInt.h
diff options
context:
space:
mode:
authorvincentdarley <vincentdarley>2006-03-10 10:35:20 (GMT)
committervincentdarley <vincentdarley>2006-03-10 10:35:20 (GMT)
commit016159504aae4e7bcafa2c3aef5c0a23d55fa308 (patch)
treed250cf6e569ea5102585a2cb99bbcb5daa76138d /win/tclWinInt.h
parent962568fbf7071d27b14e7329a74ac3ac9c91727f (diff)
downloadtcl-016159504aae4e7bcafa2c3aef5c0a23d55fa308.zip
tcl-016159504aae4e7bcafa2c3aef5c0a23d55fa308.tar.gz
tcl-016159504aae4e7bcafa2c3aef5c0a23d55fa308.tar.bz2
backport of some file readable/writable fixes from HEAD
Diffstat (limited to 'win/tclWinInt.h')
-rw-r--r--win/tclWinInt.h28
1 files changed, 27 insertions, 1 deletions
diff --git a/win/tclWinInt.h b/win/tclWinInt.h
index 5cefc9d..3b06f50 100644
--- a/win/tclWinInt.h
+++ b/win/tclWinInt.h
@@ -8,7 +8,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclWinInt.h,v 1.20.2.4 2005/11/03 11:53:59 patthoyts Exp $
+ * RCS: @(#) $Id: tclWinInt.h,v 1.20.2.5 2006/03/10 10:35:25 vincentdarley Exp $
*/
#ifndef _TCLWININT
@@ -112,6 +112,32 @@ typedef struct TclWinProcs {
LPVOID, DWORD);
BOOL (WINAPI *getVolumeNameForVMPProc)(CONST TCHAR*, TCHAR*, DWORD);
+ DWORD (WINAPI *getLongPathNameProc)(CONST TCHAR*, TCHAR*, DWORD);
+ /*
+ * These six are for the security sdk to get correct file
+ * permissions on NT, 2000, XP, etc. On 95,98,ME they are
+ * always null.
+ */
+ BOOL (WINAPI *getFileSecurityProc)(LPCTSTR lpFileName,
+ SECURITY_INFORMATION RequestedInformation,
+ PSECURITY_DESCRIPTOR pSecurityDescriptor,
+ DWORD nLength,
+ LPDWORD lpnLengthNeeded);
+ BOOL (WINAPI *impersonateSelfProc) (SECURITY_IMPERSONATION_LEVEL
+ ImpersonationLevel);
+ BOOL (WINAPI *openThreadTokenProc) (HANDLE ThreadHandle,
+ DWORD DesiredAccess, BOOL OpenAsSelf,
+ PHANDLE TokenHandle);
+ BOOL (WINAPI *revertToSelfProc) (void);
+ VOID (WINAPI *mapGenericMaskProc) (PDWORD AccessMask,
+ PGENERIC_MAPPING GenericMapping);
+ BOOL (WINAPI *accessCheckProc)(PSECURITY_DESCRIPTOR pSecurityDescriptor,
+ HANDLE ClientToken, DWORD DesiredAccess,
+ PGENERIC_MAPPING GenericMapping,
+ PPRIVILEGE_SET PrivilegeSet,
+ LPDWORD PrivilegeSetLength,
+ LPDWORD GrantedAccess,
+ LPBOOL AccessStatus);
/*
* Unicode console support. WriteConsole and ReadConsole
*/