SV2CVW2_PARAMS structure (shobjidl_core.h)

Holds the parameters for the IShellView2::CreateViewWindow2 method.

Syntax

typedef struct _SV2CVW2_PARAMS {
  DWORD             cbSize;
  IShellView        *psvPrev;
  LPCFOLDERSETTINGS pfs;
  IShellBrowser     *psbOwner;
  RECT              *prcView;
  const SHELLVIEWID *pvid;
  HWND              hwndView;
} SV2CVW2_PARAMS, *LPSV2CVW2_PARAMS;

Members

cbSize

Type: DWORD

The size of the structure.

psvPrev

Type: IShellView*

A pointer to the IShellView interface of the previous view. A Shell view can use this parameter to communicate with a previous view with the same implementation. It can also be used to optimize browsing between like views. This parameter may be NULL.

pfs

Type: LPFOLDERSETTINGS

A FOLDERSETTINGS structure with information needed to create the view.

psbOwner

Type: IShellBrowser*

A pointer to the current instance of the IShellBrowser interface of the parent Shell browser. IShellView2::CreateViewWindow2 should call this interface's AddRef method and store the interface pointer. It can be used for communication with the Windows Explorer window.

prcView

Type: RECT*

A RECT structure that defines the view's display area.

pvid

Type: const SHELLVIEWID*

A pointer to a view ID. The view ID can be one of the Windows-defined VIDs or a custom, view-defined VID. This value takes precedence over the view mode designated in the FOLDERSETTINGS structure pointed to by pfs.

hwndView

Type: HWND

A window handle to the new Shell view.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional, Windows XP [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Header shobjidl_core.h (include Shobjidl.h)