IOfflineFilesFileSysInfo::GetAttributes method

Retrieves the Win32 attributes for an item.

Syntax


HRESULT GetAttributes(
  [in]  OFFLINEFILES_ITEM_COPY copy,
  [out] DWORD                  *pdwAttributes
);

Parameters

copy [in]

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

Windows Vista:  This value must be OFFLINEFILES_ITEM_COPY_LOCAL.

pdwAttributes [out]

Receives the file attribute mask for the item. One or more of FILE_ATTRIBUTE_XXXXXX as defined in the Windows SDK. For more information, see the GetFileAttributes function.

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: