Click or drag to resize

CoreShellFolderCreateViewObject Method (IntPtr, Guid, Boolean)

Requests an object that can be used to obtain information from or interact with a folder object.

Namespace:  ShellBoost.Core.WindowsShell
Assembly:  ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax
C#
public Object CreateViewObject(
	IntPtr hwnd,
	Guid iid,
	bool throwOnError = true
)

Parameters

hwnd
Type: SystemIntPtr
A handle to the owner window. If you have implemented a custom folder view object, your folder view window should be created as a child of this handle.
iid
Type: SystemGuid
A reference to the IID of the interface to retrieve.
throwOnError (Optional)
Type: SystemBoolean
true to throw error; otherwise false.

Return Value

Type: Object
The object requested or null.
See Also