Share via


IShellView::GetCurrentInfo (Compact 2013)

3/28/2014

This method retrieves the current folder settings.

Syntax

HRESULT GetCurrentInfo(
  LPFOLDERSETTINGS lpfs
);

Parameters

  • lpfs
    Address of a FOLDERSETTINGS structure to receive the settings.

Return Value

Returns NOERROR if successful, or an OLE-defined error value otherwise.

Remarks

Windows Explorer uses this method to query the view for standard settings.

This method is called to retrieve the current settings of the view and is implemented to return as many of the settings as apply. This method is intended to maintain the same basic settings when the user browses from view to view. For example, if the user sets the Details view, that view should be maintained as the user goes from one folder to the other in Windows Explorer mode.

Requirements

Header

shobjidl.h,
shobjidl.idl

Library

Developer Implemented

See Also

Reference

IShellView
Shell Interfaces