summaryrefslogtreecommitdiffstats
path: root/win/tclWinInt.h
diff options
context:
space:
mode:
authorvincentdarley <vincentdarley@noemail.net>2003-10-13 16:48:04 (GMT)
committervincentdarley <vincentdarley@noemail.net>2003-10-13 16:48:04 (GMT)
commit12c479fd0d7d71fb3ad8e6d3ebe06e03386cda23 (patch)
treeccb9c39961e0f152b829dff8a1e6b47fcc6d99a3 /win/tclWinInt.h
parentdb0cd0ba857592102f7cb78859303390ca18d410 (diff)
downloadtcl-12c479fd0d7d71fb3ad8e6d3ebe06e03386cda23.zip
tcl-12c479fd0d7d71fb3ad8e6d3ebe06e03386cda23.tar.gz
tcl-12c479fd0d7d71fb3ad8e6d3ebe06e03386cda23.tar.bz2
filesystem bug fixes
FossilOrigin-Name: f53be6ca932d75224f711710f48a99d73b1803f4
Diffstat (limited to 'win/tclWinInt.h')
-rw-r--r--win/tclWinInt.h27
1 files changed, 26 insertions, 1 deletions
diff --git a/win/tclWinInt.h b/win/tclWinInt.h
index d953c5b..b2cb74e 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.22 2003/04/18 20:17:45 hobbs Exp $
+ * RCS: @(#) $Id: tclWinInt.h,v 1.23 2003/10/13 16:48:07 vincentdarley Exp $
*/
#ifndef _TCLWININT
@@ -111,6 +111,31 @@ typedef struct TclWinProcs {
LPVOID, UINT,
LPVOID, DWORD);
BOOL (WINAPI *getVolumeNameForVMPProc)(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);
} TclWinProcs;
EXTERN TclWinProcs *tclWinProcs;