IOfflineFilesFileSysInfo::GetFileSize method (cscobj.h)

Retrieves the size of an item.

Syntax

HRESULT GetFileSize(
  [in]  OFFLINEFILES_ITEM_COPY copy,
  [out] LARGE_INTEGER          *pSize
);

Parameters

[in] copy

An OFFLINEFILES_ITEM_COPY enumeration value identifying which copy (local or remote) to retrieve the size of.

Windows Vista:  This value must be OFFLINEFILES_ITEM_COPY_LOCAL.

[out] pSize

Receive the size, in bytes, of the item.

Return value

Returns S_OK if successful, or an error value otherwise.

Requirements

Requirement Value
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Target Platform Windows
Header cscobj.h
DLL CscSvc.dll; CscObj.dll

See also

IOfflineFilesFileSysInfo