Windows Dev Center

IOfflineFilesFileSysInfo::GetFileSize method

Retrieves the size of an item.

Syntax


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

Parameters

copy [in]

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.

pSize [out]

Receive the size, in bytes, of the item.

Return value

Returns S_OK if successful, or an error value otherwise.

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008

Header

CscObj.h

DLL

CscSvc.dll;
CscObj.dll

See also

IOfflineFilesFileSysInfo

 

 

Show:
© 2015 Microsoft