共用方式為


IInternetExplorerManager2::EnumFrameWindows method

[Some information relates to pre-released product which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.]

Provides an interface, IENumManagerFrames, for enumerating the IEFrame HWNDs in an instance of IE

Syntax

HRESULT EnumFrameWindows();

Parameters

This method has no parameters.

Return value

This method can return one of these values.

Return value Description
E_NOTIMPL

Failed because the Web Driver configuration flag (INTERNETEXPLORERCONFIGURATION_WEB_DRIVER) was not specified in the CreateObject call.

 

Remarks

EnumFrameWindows will only return successfully when the Web Driver configuration flag (INTERNETEXPLORERCONFIGURATION_WEB_DRIVER) was specified in the CreateObject call. Otherwise, it will return E_NOTIMPL.

See also

IInternetExplorerManager2