include: Update MF resolver flags.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Nikolay Sivov 2020-03-09 19:39:23 +03:00 committed by Alexandre Julliard
parent 471425c16d
commit 6c3dbcdf43
1 changed files with 14 additions and 7 deletions

View File

@ -925,13 +925,20 @@ interface IMFMediaSourceTopologyProvider : IUnknown
HRESULT GetMediaSourceTopology([in] IMFPresentationDescriptor *pd, [out] IMFTopology **topology);
}
cpp_quote("#define MF_RESOLUTION_MEDIASOURCE 0x00000001")
cpp_quote("#define MF_RESOLUTION_BYTESTREAM 0x00000002")
cpp_quote("#define MF_RESOLUTION_CONTENT_DOES_NOT_HAVE_TO_MATCH_EXTENSION_OR_MIME_TYPE 0x00000010")
cpp_quote("#define MF_RESOLUTION_KEEP_BYTE_STREAM_ALIVE_ON_FAIL 0x00000020")
cpp_quote("#define MF_RESOLUTION_READ 0x00010000")
cpp_quote("#define MF_RESOLUTION_WRITE 0x00020000")
cpp_quote("#define MF_RESOLUTION_DISABLE_LOCAL_PLUGINS 0x00000040")
enum
{
MF_RESOLUTION_MEDIASOURCE = 0x00000001,
MF_RESOLUTION_BYTESTREAM = 0x00000002,
MF_RESOLUTION_CONTENT_DOES_NOT_HAVE_TO_MATCH_EXTENSION_OR_MIME_TYPE = 0x00000010,
MF_RESOLUTION_KEEP_BYTE_STREAM_ALIVE_ON_FAIL = 0x00000020,
MF_RESOLUTION_DISABLE_LOCAL_PLUGINS = 0x00000040,
MF_RESOLUTION_PLUGIN_CONTROL_POLICY_APPROVED_ONLY = 0x00000080,
MF_RESOLUTION_PLUGIN_CONTROL_POLICY_WEB_ONLY = 0x00000100,
MF_RESOLUTION_PLUGIN_CONTROL_POLICY_WEB_ONLY_EDGEMODE = 0x00000200,
MF_RESOLUTION_ENABLE_STORE_PLUGINS = 0x00000400,
MF_RESOLUTION_READ = 0x00010000,
MF_RESOLUTION_WRITE = 0x00020000,
};
cpp_quote("#ifdef __cplusplus")
cpp_quote("static inline HRESULT MFSetAttributeSize(IMFAttributes *attributes, REFGUID key, UINT32 width, UINT32 height)")