summaryrefslogtreecommitdiffstats
path: root/dxsdk/Include/DShowIDL/mixerocx.idl
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-08-02 18:36:50 +0200
committerSergeanur <s.anureev@yandex.ua>2020-08-02 18:36:50 +0200
commita786dd45a4ebc6b91936b5e46d0ef0a9befc05af (patch)
treeced50966eaaf373f8733547046baf2bdc558662d /dxsdk/Include/DShowIDL/mixerocx.idl
parentMerge branch 'master' of https://github.com/GTAmodding/re3 into erorcun (diff)
downloadre3-a786dd45a4ebc6b91936b5e46d0ef0a9befc05af.tar
re3-a786dd45a4ebc6b91936b5e46d0ef0a9befc05af.tar.gz
re3-a786dd45a4ebc6b91936b5e46d0ef0a9befc05af.tar.bz2
re3-a786dd45a4ebc6b91936b5e46d0ef0a9befc05af.tar.lz
re3-a786dd45a4ebc6b91936b5e46d0ef0a9befc05af.tar.xz
re3-a786dd45a4ebc6b91936b5e46d0ef0a9befc05af.tar.zst
re3-a786dd45a4ebc6b91936b5e46d0ef0a9befc05af.zip
Diffstat (limited to 'dxsdk/Include/DShowIDL/mixerocx.idl')
-rw-r--r--dxsdk/Include/DShowIDL/mixerocx.idl72
1 files changed, 0 insertions, 72 deletions
diff --git a/dxsdk/Include/DShowIDL/mixerocx.idl b/dxsdk/Include/DShowIDL/mixerocx.idl
deleted file mode 100644
index 5e45b459..00000000
--- a/dxsdk/Include/DShowIDL/mixerocx.idl
+++ /dev/null
@@ -1,72 +0,0 @@
-// Copyright (c) 1998 Microsoft Corporation. All Rights Reserved.
-import "unknwn.idl";
-
-// data id flags, used to notify the client whenever pertinent data changes
-#define MIXER_DATA_ASPECT_RATIO 0x00000001 // picture aspect ratio changed
-#define MIXER_DATA_NATIVE_SIZE 0x00000002 // native size of video changed
-#define MIXER_DATA_PALETTE 0x00000004 // palette of video changed
-
-// status flags defined here
-#define MIXER_STATE_MASK 0x00000003 // use this mask with state status bits
-#define MIXER_STATE_UNCONNECTED 0x00000000 // mixer is unconnected and stopped
-#define MIXER_STATE_CONNECTED_STOPPED 0x00000001 // mixer is connected and stopped
-#define MIXER_STATE_CONNECTED_PAUSED 0x00000002 // mixer is connected and paused
-#define MIXER_STATE_CONNECTED_PLAYING 0x00000003 // mixer is connected and playing
-
-interface IMixerOCXNotify;
-interface IMixerOCX;
-
-[
- object,
- uuid(81A3BD31-DEE1-11d1-8508-00A0C91F9CA0),
- helpstring("IMixerOCXNotify Interface"),
- pointer_default(unique)
-]
-interface IMixerOCXNotify : IUnknown
-{
- // invalidates the rect
- HRESULT OnInvalidateRect([in] LPCRECT lpcRect);
-
- // informs that a status change has occured, new status bits provided in ulStatusFlags
- HRESULT OnStatusChange([in] ULONG ulStatusFlags);
-
- // informs that data parameters, whose id is present in ilDataFlags has changed
- HRESULT OnDataChange([in] ULONG ulDataFlags);
-};
-
-[
- object,
- uuid(81A3BD32-DEE1-11d1-8508-00A0C91F9CA0),
- helpstring("IMixerOCX Interface"),
- pointer_default(unique)
-]
-interface IMixerOCX : IUnknown
-{
- // used to notify the mixer that the display mode has changed, the mixer handles this
- // asynchronously and the calls OnStatusChange(MIXER_DISPLAYCHANGE_HANDLED) when processing
- // is done
- HRESULT OnDisplayChange([in] ULONG ulBitsPerPixel, [in] ULONG ulScreenWidth, [in] ULONG ulScreenHeight);
-
- HRESULT GetAspectRatio([out] LPDWORD pdwPictAspectRatioX, [out] LPDWORD pdwPictAspectRatioY);
-
- HRESULT GetVideoSize([out] LPDWORD pdwVideoWidth, [out] LPDWORD pdwVideoHeight);
-
- HRESULT GetStatus([out] LPDWORD *pdwStatus);
-
- // the dc provided here is not supposed to be cached. If apps have set a dc using
- // SetDrawInfo, then it is illegal to provide a non NULL argument here
- HRESULT OnDraw([in] HDC hdcDraw, [in] LPCRECT prcDraw);
-
- // lpptTopLeftSC should be NULL unless MIXER_DRAW_DC_ONSCREEN is set to TRUE
- // specifying a NULL value for lprcClip means no clipping
- // lpptTopLeftSC - top left corner of surface/dc in screen coordinates
- // prcDrawCC - draw rectangle in surface/dc coordinates
- // lprcClip - clipping rect in surface/dc coordinates (optional)
- HRESULT SetDrawRegion([in] LPPOINT lpptTopLeftSC, [in] LPCRECT prcDrawCC, [in] LPCRECT lprcClip);
-
- // function to set the sink interface for client notification
- HRESULT Advise([in] IMixerOCXNotify *pmdns);
-
- // function to remove the sink interface
- HRESULT UnAdvise();
-};