SECIShellViewImpl::CreateViewWindow

HRESULTSECIShellViewImpl::CreateViewWindow(LPSHELLVIEWpPrevView, LPCFOLDERSETTINGSlpfs, LPSHELLBROWSERpsb, LPRECTprcView, HWND*phWnd)

See IShellView::CreateViewWindow in Win32 SDK for details. Default implementation in this class first saves the given IShellBrowser pointer and the folder settings, then obtains the m_hParentWnd from the IShellBrowser pointer. After that, it creates our view window object by calling Create method passing m_hParentWnd and the prcView rect to the create method. If everything goes well, this method will assign the valid window handle m_hWnd to *phWnd and return S_OK, otherwise, it will return E_FAIL.

Defined in: SECIShellViewImpl.h

Return Value

HRESULT

Parameters

pPrevView

lpfs

psb

prcView

phWnd

See Also

SECIShellViewImpl