ISpatialAudioMetadataReader::Open method (spatialaudiometadata.h)

Opens an ISpatialAudioMetadataItems object for reading.

Syntax

HRESULT Open(
  [in] ISpatialAudioMetadataItems *metadataItems
);

Parameters

[in] metadataItems

A pointer to an ISpatialAudioMetadataItems object to be opened for reading

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

ISpatialAudioMetadataReader