次の方法で共有


2.2.8.1.2 SMB_FIND_FILE_ID_FULL_DIRECTORY_INFO

The fields and encoding of the TRANS2_FIND_FIRST2 SMB_FIND_FILE_ID_FULL_DIRECTORY_INFO Information Level response message are identical to the fields and encoding of the TRANS2_FIND_FIRST2 SMB_FIND_FILE_FULL_DIRECTORY_INFO Information Level response, as specified in [MS-CIFS] section 2.2.6.2.2, with the addition of the FileId field described in the list that follows the table in this section.<70>

 SMB_FIND_FILE_ID_FULL_DIRECTORY_INFO[SearchCount]
   {
   ULONG         NextEntryOffset;
   ULONG         FileIndex;
   FILETIME      CreationTime;
   FILETIME      LastAccessTime;
   FILETIME      LastWriteTime;
   FILETIME      LastAttrChangeTime;
   LARGE_INTEGER EndOfFile;
   LARGE_INTEGER AllocationSize;
   SMB_EXT_FILE_ATTR     ExtFileAttributes;
   ULONG         FileNameLength;
   ULONG         EaSize;
   ULONG         Reserved;
   LARGE_INTEGER FileID;
   SMB_STRING    FileName;
   }
            


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

NextEntryOffset

FileIndex

CreationTime

...

LastAccessTime

...

LastWriteTime

...

LastAttrChangeTime

...

EndOfFile

...

AllocationSize

...

ExtFileAttributes

FileNameLength

EaSize

Reserved

FileId

...

FileName (variable)

...

FileIndex (4 bytes): This field SHOULD<71> be set to zero when sent in a response and SHOULD be ignored when received by the client.

EndOfFile (8 bytes):  This LARGE_INTEGER field MUST be set to zero when sending a response and MUST be ignored when the client receives this message.

AllocationSize (8 bytes):  This LARGE_INTEGER field MUST be set to zero when sending a response and MUST be ignored when the client receives this message.

ExtFileAttributes (4 bytes): Extended attributes for this file that MUST be marked as a DIRECTORY.

FileNameLength (4 bytes): The length, in bytes, of the FileName field.

EaSize (4 bytes):  This field SHOULD<72> be set to zero when sending a response and MUST be ignored when the client receives this message.

Reserved (4 bytes): This field SHOULD be set to 0x00000000 in the server response. The client MUST ignore this field.

FileId (8 bytes): A LARGE_INTEGER that serves as an internal file system identifier. This number MUST be unique for each file on a given volume. If a remote file system does not support unique FileId values, then the FileId field MUST be set to zero.

FileName (variable): This field contains the name of the file.