IShellFindItem::SetAttributes

4/8/2010

The SetAttributes method is called to set attributes of the item.

Syntax

HRESULT SetAttributes (
  FINDITEMATTRIBUTES * pfia
);

Parameters

  • pfia
    [in] Attributes for the item.

Return Value

This method should return S_OK if it was successful or appropriate errors if not.

Remarks

This method is provided for applications that are retrofitting to the Find architecture. If a find item is created specifically so that it can be reported back via the IShellFindCallback::OnFindProgress callback, this method provides a way to initialize that item.

Requirements

Header findext.h
Windows Embedded CE Windows CE 3.0 and later
Windows Mobile Pocket PC 2000 and later

See Also

Reference

IShellFindItem
FINDITEMATTRIBUTES
IShellFindCallback::OnFindProgress