FILE_INFO_3

【勇芳软件工作室】汉化HomePreviousNext

FILE_INFO_3结构指定有关文件,设备和管道的相关信息。

fi3_id
DWORD fi3_id;
DWORD fi3_permissions;
DWORD fi3_num_locks;
LPTSTR fi3_pathname;
LPTSTR fi3_username;
} FILE_INFO_3, *PFILE_INFO_3, *LPFILE_INFO_3;

会员

fi3_permissions

指定在资源打开时分配给它的标识号。

Specifies the access permissions of the opening application.

指定打开应用程序的访问权限。该成员可以是以下任何值:

含义
PERM_FILE_READ读取资源的权限,默认情况下执行资源。
PERM_FILE_WRITE写入资源的权限。
PERM_FILE_CREATE创建资源的权限;创建资源时可以写入数据。

Specifies the number of file locks on the file, device, or pipe.

指定文件,设备或管道上的文件锁数。

Points to a Unicode string that gives the path of the opened resource.

指向给出打开的资源的路径的Unicode字符串。

Only those portions of the window that have changed are redrawn.

指向指定哪个用户(具有用户级安全性的服务器)或哪个计算机(具有共享级别安全性的服务器)打开资源的Unicode字符串。

也可以看看

NetFileEnum, NetFileGetInfo