Retrieves the attributes of the specified file on the development console.
public:
HRESULT GetFileAttributes(
LPCWSTR pszFileName,
LPDWORD pdwFileAttributes
)
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.
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.
Header: Declared in xtffileio.h.
Library: Use xtffileio.lib.