IShellFolderView::GetItemSpacing method

[This method has been deprecated. Use IFolderView::GetSpacing instead.]

Gets the spacing for small and large view modes only.

Syntax

HRESULT GetItemSpacing(
  ITEMSPACING *pSpacing
);

Parameters

pSpacing

Type: ITEMSPACING*

A pointer to a structure that, when this method returns successfully, receives the information that describes the view mode spacing.

Return Value

Type: HRESULT

Returns S_OK if the current view mode is positionable; otherwise, S_FALSE.

Remarks

This method sends an LVM_GETITEMSPACING message to get the view mode spacing.

This method retrieves mode spacing for only the large and small view modes.

In Windows Vista and later, this method stores the small view mode spacing in both pairs of values returned in the ITEMSPACING structure.

Requirements

   
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header shlobj_core.h