ISearchFolderItemFactory::SetStacks method (shobjidl_core.h)
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(
[in] UINT cStackKeys,
[in] PROPERTYKEY *rgStackKeys
);
Parameters
[in] cStackKeys
Type: UINT
The number of stacks keys.
[in] 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
Requirement | Value |
---|---|
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) |