Partager via


IShellView::GetCurrentInfo

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

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
Windows Embedded CE Windows CE 5.0 and later

See Also

Reference

IShellView
Standard Shell Interfaces