IMFSpatialAudioObjectBuffer::GetID method (mfspatialaudio.h)
Returns the unique, unsigned 32-bit ID of the spatial audio object represented by the buffer. If SetID method was not previously called, this method returns the invalid object ID, -1 (0xffffffff). The invalid ID indicates that the object buffer is unused and contains invalid data.
Syntax
HRESULT GetID(
[out] UINT32 *pu32ID
);
Parameters
[out] pu32ID
Pointer to a 32-bit variable where the object ID will be stored.
Return value
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
Return code | Description |
---|---|
|
The method succeeded. |
|
The supplied pointer is invalid. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10, version 1703 [desktop apps only] |
Minimum supported server | None supported |
Target Platform | Windows |
Header | mfspatialaudio.h (include Mfobjects.h) |
Library | Mfobjects.lib |