headers: Add mfmediacapture.idl

Signed-off-by: Biswapriyo Nath <nathbappai@gmail.com>
Signed-off-by: LIU Hao <lh_mouse@126.com>
This commit is contained in:
Biswapriyo Nath 2022-02-13 01:51:42 +05:30 committed by LIU Hao
parent 5a699fa655
commit 50bb4d4f79
3 changed files with 37 additions and 0 deletions

View File

@ -8,4 +8,5 @@
#include <mfcaptureengine.h>
#include <mfd3d12.h>
#include <mfidl.h>
#include <mfmediacapture.h>
#include <mfreadwrite.h>

View File

@ -164,6 +164,7 @@ IDL_SRCS = \
include/mfcaptureengine.idl \
include/mfd3d12.idl \
include/mfidl.idl \
include/mfmediacapture.idl \
include/mfobjects.idl \
include/mfplay.idl \
include/mfreadwrite.idl \

View File

@ -0,0 +1,35 @@
/**
* This file has no copyright assigned and is placed in the Public Domain.
* This file is part of the mingw-w64 runtime package.
* No warranty is given; refer to the file DISCLAIMER.PD within this package.
*/
cpp_quote("#include <winapifamily.h>")
cpp_quote("#if NTDDI_VERSION >= NTDDI_WIN8")
cpp_quote("#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP)")
import "mfobjects.idl";
[object, uuid(3de21209-8ba6-4f2a-a577-2819b56ff14d), local]
interface IAdvancedMediaCaptureInitializationSettings : IUnknown
{
HRESULT SetDirectxDeviceManager([in] IMFDXGIDeviceManager *pManager);
}
[object, uuid(24e0485f-a33e-4aa1-b564-6019b1d14f65), local]
interface IAdvancedMediaCaptureSettings : IUnknown
{
HRESULT GetDirectxDeviceManager([out] IMFDXGIDeviceManager **ppManager);
}
[object, uuid(d0751585-d216-4344-b5bf-463b68f977bb), local]
interface IAdvancedMediaCapture: IUnknown
{
HRESULT GetAdvancedMediaCaptureSettings ([out] IAdvancedMediaCaptureSettings **ppSettings);
}
cpp_quote("#endif /* WINAPI_PARTITION_APP */")
cpp_quote("#endif /* NTDDI >= NTDDI_WIN8 */")