IXtfFileIOClient::GetFileAttributes Method
Retrieves the attributes of the specified file on the development console.
Syntax
public:
HRESULT GetFileAttributes(
LPCWSTR pszFileName,
LPDWORD pdwFileAttributes
)
Parameters
pszFileName
Type: 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
Returns S_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)Requiere autorización.
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::GetFileInfo
IXtfFileIOClient Interface
XtfFileIO