ISearchFolderItemFactory::SetStacks method

Creates a list of stack keys, as specified. If this method is not called, by default the folder will not be stacked.

Syntax

HRESULT SetStacks(
  UINT        cStackKeys,
  PROPERTYKEY *rgStackKeys
);

Parameters

cStackKeys

Type: UINT

The number of stacks keys.

rgStackKeys

Type: PROPERTYKEY*

A pointer to an array of PROPERTYKEY structures containing stack key information.

Return Value

Type: HRESULT

Returns a success value if successful, or an error value otherwise.

Requirements

   
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header shobjidl_core.h (include Shobjidl.h)