IAudioFormatEnumerator::GetFormat method
[Some information relates to pre-released product which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.]
Gets the format with the specified index in the list. The formats are listed in order of importance. The most preferable format is first in the list.
Syntax
HRESULT GetFormat(
[in] UINT32 index,
[out] WAVEFORMATEX **format
);
Parameters
- index [in]
-
The index of the item in the list to retrieve.
- format [out]
-
Pointer to a pointer to a WAVEFORMATEX structure describing a supported audio format.
Return value
If the method succeeds, it returns S_OK.
Requirements
|
Header |
|
|---|
See also
Show: