次の方法で共有


2.2.8.3.6 SMB_QUERY_FILE_BASIC_INFO

This information level structure is used in TRANS2_QUERY_PATH_INFORMATION (section 2.2.6.6) and TRANS2_QUERY_FILE_INFORMATION (section 2.2.6.8) responses to return the following information for the file specified in the request:<175>

  • 64-bit versions of creation, access, and last write timestamps

  • Extended file attributes

     SMB_QUERY_FILE_BASIC_INFO 
       {
       FILETIME          CreationTime;
       FILETIME          LastAccessTime;
       FILETIME          LastWriteTime;
       FILETIME          LastChangeTime;
       SMB_EXT_FILE_ATTR ExtFileAttributes;
       ULONG             Reserved;
       }
      
    

CreationTime: (8 bytes): This field contains the date and time when the file was created.

LastAccessTime: (8 bytes): This field contains the date and time when the file was last accessed.

LastWriteTime: (8 bytes): This field contains the date and time when data was last written to the file.

LastChangeTime: (8 bytes): This field contains the date and time when the file was last changed.

ExtFileAttributes: (4 bytes): This field contains the extended file attributes of the file, encoded as an SMB_EXT_FILE_ATTR (section 2.2.1.2.3) data type.

Reserved: (4 bytes): MUST be set to zero when sent and MUST be ignored on receipt.