1
2
3
4
5 package windows
6
7 import "syscall"
8
9 const (
10 ERROR_INVALID_PARAMETER syscall.Errno = 87
11
12 FILE_SUPPORTS_OBJECT_IDS = 0x00010000
13 FILE_SUPPORTS_OPEN_BY_FILE_ID = 0x01000000
14
15
16 SYMBOLIC_LINK_FLAG_ALLOW_UNPRIVILEGED_CREATE = 0x2
17
18
19 FileBasicInfo = 0
20 FileStandardInfo = 1
21 FileNameInfo = 2
22 FileStreamInfo = 7
23 FileCompressionInfo = 8
24 FileAttributeTagInfo = 9
25 FileIdBothDirectoryInfo = 0xa
26 FileIdBothDirectoryRestartInfo = 0xb
27 FileRemoteProtocolInfo = 0xd
28 FileFullDirectoryInfo = 0xe
29 FileFullDirectoryRestartInfo = 0xf
30 FileStorageInfo = 0x10
31 FileAlignmentInfo = 0x11
32 FileIdInfo = 0x12
33 FileIdExtdDirectoryInfo = 0x13
34 FileIdExtdDirectoryRestartInfo = 0x14
35 )
36
37 type FILE_ATTRIBUTE_TAG_INFO struct {
38 FileAttributes uint32
39 ReparseTag uint32
40 }
41
42
43
View as plain text