IFolderViewHost::Initialize method
Initializes the object that hosts an IFolderView object.
Syntax
HRESULT Initialize( [in] HWND hwndParent, [in] IDataObject *pdo, [in] RECT *prc );
Parameters
- hwndParent [in]
-
Type: HWND
The handle of the window that contains the IFolderViewHost object.
- pdo [in]
-
Type: IDataObject*
The address of a pointer to a data object.
- prc [in]
-
Type: RECT*
The address of a pointer to a RECT structure that specifies the dimensions of the folder 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 |
|
|
IDL |
|
|
DLL |
|
Show: