Partager via


3.3.4.16 Server Application Queries an Open

The calling application MUST provide GlobalFileId as an identifier for the Open. The server MUST enumerate all connections in Server.ConnectionTable and MUST look up the Open in Server.Connection.FileOpenTable where Server.Open.FileGlobalId is equal to GlobalFileId. If the Open is found, the server MUST return it in a FILE_INFO_3 structure ([MS-SRVS] section 2.2.4.7), with the following values set and MUST return STATUS_SUCCESS to the calling application.

FILE_INFO_3 parameters

[MS-CIFS] Open properties

fi3_id

Open.FileGlobalId

fi3_permissions

Open.GrantedAccess

fi3_num_locks

Count of entries in Open.Locks

fi3_path_name

Open.PathName

fi3_username

Open.Session.UserName

If no Open is found, the server MUST return an implementation-dependent error.