XTFFILEINFO

Contains information about a file for Xbox Tools Framework (XTF) apps.

Syntax

typedef struct XTFFILEINFO {
    LPCWSTR pszFileName;
    DWORD dwFileAttributes;
    ULONGLONG ullCreationTime;
    ULONGLONG ullLastAccessTime;
    ULONGLONG ullLastWriteTime;
    ULONGLONG ullFileSize;
    XTFFILEIORESERVED Reserved;
} XTFFILEINFO, *LPXTFFILEINFO;  

Members

pszFileName
Type: LPCWSTR

A pointer to the filename of the file.

dwFileAttributes
Type: DWORD

The bitwise-OR combination of file attributes for the file. See File Attribute Constants for a list of possible attributes.

ullCreationTime
Type: ULONGLONG

The date and time that the file was created.

ullLastAccessTime
Type: ULONGLONG

The date and time that the file was last accessed.

ullLastWriteTime
Type: ULONGLONG

The date and time that the file was last written to.

ullFileSize
Type: ULONGLONG

The size of the file, in bytes.

Reserved
Type: XTFFILEIORESERVED

Reserved for internal use.

Remarks

This structure provides information about a file for use with XTF apps. The structure contains the name, file attributes, and size of the file, as well as the date and time when the file was created, last accessed, and last written to.

The XTFFILEINFO structure is used by other interface members in the XtfFileIO API, including IXtfCopyFileCallback::OnEndFileCopy, IXtfCopyFileCallback::OnStartFileCopy, IXtfFindFileCallback::OnFoundFile, and IXtfFileIOClient::GetFileInfo.

Requirements

Header: xtffileio.h

Library: xtffileio.lib

Supported platforms: Windows (for Xbox console tools)

See also

IXtfCopyFileCallback::OnEndFileCopy
IXtfCopyFileCallback::OnStartFileCopy
IXtfFindFileCallback::OnFoundFile
IXtfFileIOClient::GetFileInfo
XtfFileIO