Share via


IMediaObjectInPlace::Clone (Windows CE 5.0)

Send Feedback

This method creates a copy of the DMO in its current state.

HRESULT Clone(IMediaObjectInPlace** ppMediaObject);

Parameters

  • ppMediaObject
    [out] Address of a pointer to receive the new DMO's IMediaObjectInPlace interface.

Return Values

Returns S_OK if successful. Otherwise, it returns an HRESULT value indicating the cause of the error.

Remarks

If the method succeeds, the IMediaObjectInPlace interface that it returns has an outstanding reference count. Be sure to release the interface when you are finished using it.

Requirements

OS Versions: Windows CE .NET 4.1 and later.
Header: Dmo.h.
Link Library: Dmoguid.lib.

See Also

IMediaObjectInPlace

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.