From 79eff39b9de092773ab8524798d44f359cc151d3 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Sat, 3 Oct 2020 14:55:12 +0530 Subject: [PATCH 3/4] include: Add IMFMetadata interface in mfidl.idl. Signed-off-by: Biswapriyo Nath --- include/mfidl.idl | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/include/mfidl.idl b/include/mfidl.idl index b4aa122..d12c935 100644 --- a/include/mfidl.idl +++ b/include/mfidl.idl @@ -541,6 +541,36 @@ interface IMFPresentationDescriptor : IMFAttributes [out] IMFPresentationDescriptor **descriptor ); } +[ + object, + uuid(f88cfb8c-ef16-4991-b450-cb8c69e51704) +] +interface IMFMetadata : IUnknown +{ + HRESULT SetLanguage( + [in] const WCHAR *lang); + + HRESULT GetLanguage( + [out] WCHAR **lang); + + HRESULT GetAllLanguages( + [out] PROPVARIANT *languages); + + HRESULT SetProperty( + [in] const WCHAR *name, + [in] const PROPVARIANT *values); + + HRESULT GetProperty( + [in] const WCHAR *name, + [out] PROPVARIANT *values); + + HRESULT DeleteProperty( + [in] const WCHAR *name); + + HRESULT GetAllPropertyNames( + [out] PROPVARIANT *names); +} + [ object, uuid(197cd219-19cb-4de1-a64c-acf2edcbe59e), -- 2.27.0