ISpatialAudioMetadataCopier::Open method (spatialaudiometadata.h)

Opens an ISpatialAudioMetadataItems object for copying.

Syntax

HRESULT Open(
  [in] ISpatialAudioMetadataItems *metadataItems
);

Parameters

[in] metadataItems

A pointer to an ISpatialAudioMetadataItems object to be opened for copying

Return value

If the method succeeds, it returns S_OK. If it fails, possible return codes include, but are not limited to, the values shown in the following table.

Return code Description
SPTLAUD_MD_CLNT_E_ITEMS_ALREADY_OPEN
Open has already been called on the supplied ISpatialAudioMetadataItems since the object was created or since the last call to Close.
E_INVALIDARG
The provided pointer is not valid.

Requirements

Requirement Value
Target Platform Windows
Header spatialaudiometadata.h

See also

ISpatialAudioMetadataCopier

ISpatialAudioMetadataReader