]> git.saurik.com Git - wxWidgets.git/blame - utils/Install/inczip/nt.h
Fix so OGL can build without wxBuffer
[wxWidgets.git] / utils / Install / inczip / nt.h
CommitLineData
f6bcfd97
BP
1/* nt.h: central header for EF_NTSD "SD" extra field */
2
3#ifndef _NT_H
4#define _NT_H
5
6#define NTSD_BUFFERSIZE (1024) /* threshold to cause malloc() */
7#define OVERRIDE_BACKUP 1 /* we have SeBackupPrivilege on remote */
8#define OVERRIDE_RESTORE 2 /* we have SeRestorePrivilege on remote */
9#define OVERRIDE_SACL 4 /* we have SeSystemSecurityPrivilege on remote */
10
11typedef struct {
12 BOOL bValid; /* are our contents valid? */
13 BOOL bProcessDefer; /* process deferred entry yet? */
14 BOOL bUsePrivileges; /* use privilege overrides? */
15 DWORD dwFileSystemFlags; /* describes target file system */
16 BOOL bRemote; /* is volume remote? */
17 DWORD dwRemotePrivileges; /* relevant only on remote volumes */
18 DWORD dwFileAttributes;
19 char RootPath[MAX_PATH+1]; /* path to network / filesystem */
20} VOLUMECAPS, *PVOLUMECAPS, *LPVOLUMECAPS;
21
22BOOL SecuritySet(char *resource, PVOLUMECAPS VolumeCaps, uch *securitydata);
23BOOL GetVolumeCaps(char *rootpath, char *name, PVOLUMECAPS VolumeCaps);
24BOOL ValidateSecurity(uch *securitydata);
25BOOL ProcessDefer(PDWORD dwDirectoryCount, PDWORD dwBytesProcessed,
26 PDWORD dwDirectoryFail, PDWORD dwBytesFail);
27
28#endif /* _NT_H */