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] Pointer to the filename of the file to get the attributes of.

pdwFileAttributes
Type: LPDWORD 

[out] Pointer that receives a bitwise-OR combination of file attributes for the specified file. See File Attribute Constants for a list of possible attributes.

Return value

Type: HRESULT 

A 0 return value indicates success. A non-zero return value indicates an error with an HRESULT that can be mapped to an error string using FormatMessage.

Requirements

Header: Declared in xtffileio.h.

Library: Use xtffileio.lib.

See also

Reference

IXtfFileIOClient Interface

IXtfFileIOClient Members

XtfFileIO