ISpatialAudioMetadataWriter::Open method

Opens an ISpatialAudioMetadataItems object for writing.

Syntax


HRESULT Open(
  [in] ISpatialAudioMetadataItems *metadataItems
);

Parameters

metadataItems [in]

A pointer to an ISpatialAudioMetadataItems object to be opened for writing.

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 codeDescription
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

Header

SpatialAudioMetadata.h

See also

ISpatialAudioMetadataWriter

 

 

Show: