共用方式為


ILocator::Clone

 
Microsoft DirectShow 9.0

ILocator::Clone

The Clone method creates a copy of the Locator.

Syntax

  HRESULT Clone(
    ILocator** ppNewLocator
    );

Parameters

ppNewLocator

[out] Address of an ILocator interface pointer that will receive the returned interface.

Return Values

Returns S_OK if successful. If the method fails, error information can be retrieved using the standard COM IErrorInfo interface.

Requirements

Header: Dshow.h.

Library: Quartz.dll.

See Also