CSFV structure (shlobj_core.h)

Used with the SHCreateShellFolderViewEx function.

Syntax

typedef struct _CSFV {
  UINT              cbSize;
  IShellFolder      *pshf;
  IShellView        *psvOuter;
  PCIDLIST_ABSOLUTE pidl;
  LONG              lEvents;
  LPFNVIEWCALLBACK  pfnCallback;
  FOLDERVIEWMODE    fvm;
} CSFV, *LPCSFV;

Members

cbSize

Type: UINT

The size of the CSFV structure, in bytes.

pshf

Type: IShellFolder*

A pointer to the IShellFolder object for which to create the view.

psvOuter

Type: IShellView*

A pointer to the parent IShellView interface. This parameter can be NULL.

pidl

Type: PCIDLIST_ABSOLUTE

Ignored.

lEvents

Type: LONG

pfnCallback

Type: LPFNVIEWCALLBACK

A pointer to the LPFNVIEWCALLBACK function used by this folder view to handle callback messages. This parameter can be NULL.

fvm

Type: FOLDERVIEWMODE

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Header shlobj_core.h (include Shlobj.h)