IXtfFileIOClient::GetFileAttributes Method
Retrieves the attributes of the specified file on the development console.Syntax
Parameters
pszFileNameType: LPCWSTR [in] A pointer to the filename of the file to get the attributes of. pdwFileAttributes
Type: LPDWORD [out] A pointer that receives the bitwise-OR combination of file attributes for the specified file. See File Attribute Constants for a list of possible attributes.
Return value
Type: HRESULT ReturnsS_OK if successful; otherwise, returns an HRESULT error code.
Remarks
This function gets the file attributes of a specified file on the development console. If an error occurs, this function returns an HRESULT error code. For more information about HRESULT error codes specific to XBOX Tools Framework (XTF) API, see XTF transport errors (NDA topic). Use the IXtfFileIOClient::SetFileAttributes method to set the file attributes of a specified file on the development console.Requirements
Header: xtffileio.h Library: xtffileio.lib Supported platforms: Windows (for XBOX console tools)See also
IXtfFileIOClient::GetFileInfoIXtfFileIOClient Interface
XtfFileIO
