Platform SDK: Network Management

FILE_INFO_3

The FILE_INFO_3 structure contains the identification number and other pertinent information about files, devices, and pipes.

typedef struct _FILE_INFO_3 {
  DWORD     fi3_id;
  DWORD     fi3_permissions;
  DWORD     fi3_num_locks;
  LPWSTR    fi3_pathname;
  LPWSTR    fi3_username;
} FILE_INFO_3, *PFILE_INFO_3, *LPFILE_INFO_3;

Members

fi3_id
Specifies a DWORD value that contains the identification number assigned to the resource when it is opened.
fi3_permissions
Specifies a DWORD value that contains the access permissions associated with the opening application. This member can be one or more of the following values.
Value Meaning
PERM_FILE_READ Permission to read a resource and, by default, execute the resource.
PERM_FILE_WRITE Permission to write to a resource.
PERM_FILE_CREATE Permission to create a resource; data can be written when creating the resource.

fi3_num_locks
Specifies a DWORD value that contains the number of file locks on the file, device, or pipe.
fi3_pathname
Pointer to a Unicode string that specifies the path of the opened resource.
fi3_username
Pointer to a Unicode string that specifies which user (on servers that have user-level security) or which computer (on servers that have share-level security) opened the resource.

Requirements

  Windows NT/2000: Requires Windows NT 3.1 or later.
  Windows 95/98: Requires Windows 95 or later.
  Header: Declared in Lmshare.h.

See Also

Network Management Overview, Network Management Structures, NetFile Functions, NetFileEnum, NetFileGetInfo, FILE_INFO_2