include: Guard MFVideoNormalizedRect definition in mfmediaengine.idl.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Nikolay Sivov 2020-11-16 17:50:18 +03:00 committed by Alexandre Julliard
parent bf7e6d1773
commit a2eb999549
1 changed files with 3 additions and 0 deletions

View File

@ -76,6 +76,8 @@ typedef enum MF_MEDIA_ENGINE_CANPLAY
MF_MEDIA_ENGINE_CANPLAY_PROBABLY,
} MF_MEDIA_ENGINE_CANPLAY;
cpp_quote("#ifndef _MFVideoNormalizedRect_")
cpp_quote("#define _MFVideoNormalizedRect_")
typedef struct MFVideoNormalizedRect
{
float left;
@ -83,6 +85,7 @@ typedef struct MFVideoNormalizedRect
float right;
float bottom;
} MFVideoNormalizedRect;
cpp_quote("#endif")
typedef enum MF_MEDIA_ENGINE_CREATEFLAGS
{