IMediaObjectInPlace::Clone

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

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.