IShellView::GetCurrentInfo method

Gets the current folder settings.

Syntax


HRESULT GetCurrentInfo(
  LPFOLDERSETTINGS lpfs
);

Parameters

lpfs

Type: LPFOLDERSETTINGS

The address of a FOLDERSETTINGS structure to receive the settings.

Return value

Type: HRESULT

Returns S_OK if successful, or a COM-defined error value otherwise.

Remarks

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

Note to Calling Applications

This method is used to retrieve the current view settings of the view.

Notes to Implementers

Return as many of the settings as apply. This 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

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Shobjidl.h

IDL

Shobjidl.idl

DLL

Shell32.dll (version 4.0 or later)

See also

IShellView

 

 

Community Additions

ADD
Show:
© 2014 Microsoft