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:  callback.ShellBoost.Core.WindowsShell
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.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