...
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_OPEN_BY_FILE_ID = 0x01000000
13
14
15 SYMBOLIC_LINK_FLAG_ALLOW_UNPRIVILEGED_CREATE = 0x2
16
17
18 FileBasicInfo = 0
19 FileStandardInfo = 1
20 FileNameInfo = 2
21 FileStreamInfo = 7
22 FileCompressionInfo = 8
23 FileAttributeTagInfo = 9
24 FileIdBothDirectoryInfo = 0xa
25 FileIdBothDirectoryRestartInfo = 0xb
26 FileRemoteProtocolInfo = 0xd
27 FileFullDirectoryInfo = 0xe
28 FileFullDirectoryRestartInfo = 0xf
29 FileStorageInfo = 0x10
30 FileAlignmentInfo = 0x11
31 FileIdInfo = 0x12
32 FileIdExtdDirectoryInfo = 0x13
33 FileIdExtdDirectoryRestartInfo = 0x14
34 )
35
36 type FILE_ATTRIBUTE_TAG_INFO struct {
37 FileAttributes uint32
38 ReparseTag uint32
39 }
40
41
42
View as plain text