Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
4/8/2010

The SetAttributesmethod 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_OKif 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::OnFindProgresscallback, 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