include: Add declarations for metadata handler info interfaces.

This commit is contained in:
Vincent Povirk 2012-05-31 10:56:46 -05:00 committed by Alexandre Julliard
parent 434e7b8e1e
commit eae43717db
1 changed files with 55 additions and 0 deletions

View File

@ -48,6 +48,21 @@ cpp_quote("DEFINE_GUID(CLSID_WICPngTextMetadataWriter, 0xb5ebafb9,0x253e,0x4a72,
cpp_quote("DEFINE_GUID(CLSID_WICIfdMetadataReader, 0x8f914656,0x9d0a,0x4eb2,0x90,0x19,0x0b,0xf9,0x6d,0x8a,0x9e,0xe6);")
cpp_quote("DEFINE_GUID(CLSID_WICExifMetadataReader, 0xd9403860,0x297f,0x4a49,0xbf,0x9b,0x77,0x89,0x81,0x50,0xa4,0x42);")
typedef struct WICMetadataPattern {
ULARGE_INTEGER Position;
ULONG Length;
BYTE *Pattern;
BYTE *Mask;
ULARGE_INTEGER DataOffset;
} WICMetadataPattern;
typedef struct WICMetadataHeader {
ULARGE_INTEGER Position;
ULONG Length;
BYTE *Header;
ULARGE_INTEGER DataOffset;
} WICMetadataHeader;
[
object,
uuid(aba958bf-c672-44d1-8d61-ce6df2e682c2)
@ -112,6 +127,29 @@ interface IWICMetadataReader : IUnknown
[out] IWICEnumMetadataItem **ppIEnumMetadata);
}
[
object,
uuid(eebf1f5b-07c1-4447-a3ab-22acaf78a804)
]
interface IWICMetadataReaderInfo : IWICMetadataHandlerInfo
{
[local]
HRESULT GetPatterns(
[in] REFGUID guidContainerFormat,
[in] UINT cbSize,
[out, unique] WICMetadataPattern *pPattern,
[out, unique] UINT *pcCount,
[out, unique] UINT *pcbActual);
HRESULT MatchesPattern(
[in] REFGUID guidContainerFormat,
[in] IStream *pIStream,
[out] BOOL *pfMatches);
HRESULT CreateInstance(
[out] IWICMetadataReader **ppIReader);
}
[
object,
uuid(f7836e16-3be0-470b-86bb-160d0aecd7de)
@ -137,6 +175,23 @@ interface IWICMetadataWriter : IWICMetadataReader
[in] UINT nIndex);
}
[
object,
uuid(b22e3fba-3925-4323-b5c1-9ebfc430f236)
]
interface IWICMetadataWriterInfo : IWICMetadataHandlerInfo
{
[local]
HRESULT GetHeader(
[in] REFGUID guidContainerFormat,
[in] UINT cbSize,
[out, unique] WICMetadataHeader *pHeader,
[out, unique] UINT *pcbActual);
HRESULT CreateInstance(
[out] IWICMetadataWriter **ppIWriter);
}
[
object,
uuid(feaa2a8d-b3f3-43e4-b25c-d1de990a1ae1)