Export (0) Print
Expand All

IFolderView::GetCurrentViewMode method

Gets an address containing a value representing the folder's current view mode.

Syntax


HRESULT GetCurrentViewMode(
  [out]  UINT *pViewMode
);

Parameters

pViewMode [out]

Type: UINT*

A pointer to a memory location at which to store the folder's current view mode. The value at that address is one of the following FOLDERVIEWMODE values.

FVM_ICON

Medium icons

FVM_SMALLICON

Small icons

FVM_LIST

List view without details

FVM_DETAILS

Show details (size, type, last modification date)

FVM_THUMBNAIL

Thumbnail view

FVM_TILE

Large icons

FVM_THUMBSTRIP

Filmstrip 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]

Header

Shobjidl.h

IDL

Shobjidl.idl

DLL

Shell32.dll

See also

IFolderView
IFolderView::SetCurrentViewMode
GetCurrentInfo

 

 

Community Additions

ADD
Show:
© 2014 Microsoft