Επεξεργασία

Κοινή χρήση μέσω


IShellFolderView::SetAutomationObject method (shlobj_core.h)

[This method is available through Windows Vista. It might be altered or unavailable in subsequent versions of Windows.]

Replaces the internal automation object of the IShellView.

Syntax

HRESULT SetAutomationObject(
  [in, optional] IDispatch *pdisp
);

Parameters

[in, optional] pdisp

Type: IDispatch*

A pointer to the new automation object.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header shlobj_core.h