"保留域"是目前并没有使用的域,你对它的改变将被忽略,最好给它们赋值为0. 不过,dwReserved0并不完全是保留域,当dwFileAttributes包含FILE_ATTRIBUTE_REPARSE_POINT属性时,其值有意义.dwReserved0 If the dwFileAttributes member includes the FILE_ATTRIBUTE_REPARSE_POINT attribute, this member specifies the reparse tag. Otherwise, this value is undefined and should not be used. dwReserved1 Reserved for future use. 0A
是因为我想可以通过FindFirstFile来看到dwReserved0 dwReserved1的值
这样我就可以知道这个文件是不是经过我修改过的(只是我修改过这是唯一)
因为 FindFirstFile是系统函数,所以不要自己定义,且可以节约系统资源
因为我修改dwReserved0 dwReserved1两个预留的字段是想通过系统函数FindFirstFile来判断这个文件是不是我修改过的!!
不过,dwReserved0并不完全是保留域,当dwFileAttributes包含FILE_ATTRIBUTE_REPARSE_POINT属性时,其值有意义.dwReserved0
If the dwFileAttributes member includes the FILE_ATTRIBUTE_REPARSE_POINT attribute, this member specifies the reparse tag. Otherwise, this value is undefined and should not be used.
dwReserved1
Reserved for future use.
0A