IShellFolderView::SetAutomationObject method

[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

pdisp [in, optional]

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

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

 

 

Community Additions

ADD
Show:
© 2014 Microsoft