IWICMetadataBlockReader::GetReaderByIndex method
Retrieves an IWICMetadataReader for a specified top level metadata block.
Syntax
HRESULT GetReaderByIndex(
[in] UINT nIndex,
[out] IWICMetadataReader **ppIMetadataReader
);
Parameters
- nIndex [in]
-
Type: UINT
The index of the desired top level metadata block to retrieve.
- ppIMetadataReader [out]
-
Type: IWICMetadataReader**
When this method returns, contains a pointer to the IWICMetadataReader specified by nIndex.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
|
Minimum supported client |
Windows XP with SP2, Windows Vista [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server |
Windows Server 2008 [desktop apps | Windows Store apps] |
|
Header |
|
|
IDL |
|
|
Library |
|
|
DLL |
|
See also
- IWICMetadataBlockReader
- Conceptual
- Windows Imaging Component Overview
- WIC Metadata Overview
- Overview of Reading and Writing Image Metadata
- Other Resources
- How to Write a WIC-Enabled CODEC