# IRsFileInfo Interface Reference

Inherits IUnknown.

List of all members.

## Properties
BSTR * | Name`[get]`
BSTR * | Name`[set]`
DWORD * | Attributes`[get]`
DWORD * | Attributes`[set]`
DWORD * | FileSizeLo`[get]`
DWORD * | FileSizeLo`[set]`
DWORD * | FileSizeHi`[get]`
DWORD * | FileSizeHi`[set]`
FILETIME * | CreationTime`[get]`
FILETIME * | CreationTime`[set]`
FILETIME * | LastAccessTime`[get]`
FILETIME * | LastAccessTime`[set]`
FILETIME * | LastWriteTime`[get]`
FILETIME * | LastWriteTime`[set]`

## Detailed Description

The file info interface access file info data object.

- The data object wraps the BY_HANDLE_FILE_INFORMATION structure IRfFileSupport.

## Property Documentation

BSTR* IRsFileInfo::Name`[get]`

Get name of the file.

Returns:
  pVal [out, retval] Returns name of the file.

  Standard HRESULT processing can be applied to the result.

BSTR* IRsFileInfo::Name`[set]`

Set name of the file.

Parameters:

  | newVal | [in] Name of the file.

Returns:
  Standard HRESULT processing can be applied to the result.

DWORD* IRsFileInfo::Attributes`[get]`

Get file's attributes.

Returns:
  pVal [out, retval] Returns file's attributes.

  Standard HRESULT processing can be applied to the result.

DWORD* IRsFileInfo::Attributes`[set]`

Set file's attributes.

Parameters:

  | newVal | [in] Set file's attributes.

Returns:
  Standard HRESULT processing can be applied to the result.

DWORD* IRsFileInfo::FileSizeLo`[get]`

Get low part of the file size.

Returns:
  pVal [out, retval] Returns low part of the file size.

  Standard HRESULT processing can be applied to the result.

DWORD* IRsFileInfo::FileSizeLo`[set]`

Set low part of the file size.

Parameters:

  | newVal | [in] Set low part of the file size.

Returns:
  Standard HRESULT processing can be applied to the result.

DWORD* IRsFileInfo::FileSizeHi`[get]`

Get high part of the file size.

Returns:
  pVal [out, retval] Returns high part of the file size.

  Standard HRESULT processing can be applied to the result.

DWORD* IRsFileInfo::FileSizeHi`[set]`

Set high part of the file size.

Parameters:

  | newVal | [in] Set high part of the file size.

Returns:
  Standard HRESULT processing can be applied to the result.

FILETIME* IRsFileInfo::CreationTime`[get]`

Get time when the file was created.

Returns:
  pVal [out, retval] Returns time when the file was created.

  Standard HRESULT processing can be applied to the result.

FILETIME* IRsFileInfo::CreationTime`[set]`

Set time when the file was created.

Parameters:

  | newVal | [in] Time when the file was created.

Returns:
  Standard HRESULT processing can be applied to the result.

FILETIME* IRsFileInfo::LastAccessTime`[get]`

Get last time when the file was accessed.

Returns:
  pVal [out, retval] Returns last accessing time.

  Standard HRESULT processing can be applied to the result.

FILETIME* IRsFileInfo::LastAccessTime`[set]`

Set last time when the file was accessed.

Parameters:

  | newVal | [in] Time when the file was accessed.

Returns:
  Standard HRESULT processing can be applied to the result.

FILETIME* IRsFileInfo::LastWriteTime`[get]`

Get last write time of the file.

Returns:
  pVal [out, retval] Returns last write time of the file.

  Standard HRESULT processing can be applied to the result.

FILETIME* IRsFileInfo::LastWriteTime`[set]`

Set last write time for the file.

Parameters:

  | newVal | [in] Last write time for the file.

Returns:
  Standard HRESULT processing can be applied to the result.