IFolderView::GetDefaultSpacing method (shobjidl_core.h)

Gets a pointer to a POINT structure containing the default width (x) and height (y) measurements of an item, including the surrounding white space.

Syntax

HRESULT GetDefaultSpacing(
  POINT *ppt
);

Parameters

ppt

Type: POINT*

Pointer to an existing structure to be filled with the default sizing dimensions of the items in the folder's view.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

   
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header shobjidl_core.h (include Shobjidl.h)
DLL Shell32.dll

See also

IFolderView

IFolderView::GetSpacing