IMFAttributes::CopyAllItems Method

Copies all of the attributes from this object into another attribute store.

Syntax

public:
HRESULT CopyAllItems(
         IMFAttributes *pDest
)  

Parameters

pDest
Type: IMFAttributes *

[in, optional] A pointer to the IMFAttributes interface of the attribute store that receives the copy.

Return value

Type: HRESULT 

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Refer to Media Foundation return codes.

Remarks

This method deletes all of the attributes originally stored in pDest.

Requirements

Header: Declared in mfobjects.h (include mfidl.h).

Library: Use Mfuuid.lib.