📄 msvidctl.h
字号:
#endif /* __MSVidFeature_FWD_DEFINED__ */
#ifndef __MSVidOutput_FWD_DEFINED__
#define __MSVidOutput_FWD_DEFINED__
#ifdef __cplusplus
typedef class MSVidOutput MSVidOutput;
#else
typedef struct MSVidOutput MSVidOutput;
#endif /* __cplusplus */
#endif /* __MSVidOutput_FWD_DEFINED__ */
/* header files for imported files */
#include "mshtml.h"
#include "mstve.h"
#include "mstvca.h"
#include "segment.h"
#ifdef __cplusplus
extern "C"{
#endif
void * __RPC_USER MIDL_user_allocate(size_t);
void __RPC_USER MIDL_user_free( void * );
/* interface __MIDL_itf_msvidctl_0000 */
/* [local] */
//+-------------------------------------------------------------------------
//
// Microsoft Windows
// Copyright (C) Microsoft Corporation, 1999-2001.
//
//--------------------------------------------------------------------------
#pragma once
typedef /* [public] */
enum __MIDL___MIDL_itf_msvidctl_0000_0001
{ dispidInputs = 0,
dispidOutputs = dispidInputs + 1,
dispid_Inputs = dispidOutputs + 1,
dispid_Outputs = dispid_Inputs + 1,
dispidVideoRenderers = dispid_Outputs + 1,
dispidAudioRenderers = dispidVideoRenderers + 1,
dispidFeatures = dispidAudioRenderers + 1,
dispidInput = dispidFeatures + 1,
dispidOutput = dispidInput + 1,
dispidVideoRenderer = dispidOutput + 1,
dispidAudioRenderer = dispidVideoRenderer + 1,
dispidSelectedFeatures = dispidAudioRenderer + 1,
dispidView = dispidSelectedFeatures + 1,
dispidBuild = dispidView + 1,
dispidPause = dispidBuild + 1,
dispidRun = dispidPause + 1,
dispidStop = dispidRun + 1,
dispidDecompose = dispidStop + 1,
dispidDisplaySize = dispidDecompose + 1,
dispidMaintainAspectRatio = dispidDisplaySize + 1,
dispidColorKey = dispidMaintainAspectRatio + 1,
dispidStateChange = dispidColorKey + 1,
dispidgetState = dispidStateChange + 1,
dispidunbind = dispidgetState + 1,
dispidbind = dispidunbind + 1,
dispidDisableVideo = dispidbind + 1,
dispidDisableAudio = dispidDisableVideo + 1,
dispidViewNext = dispidDisableAudio + 1
} MSViddispidList;
typedef /* [public][public][public] */
enum __MIDL___MIDL_itf_msvidctl_0000_0002
{ dslDefaultSize = 0,
dslSourceSize = 0,
dslHalfSourceSize = dslSourceSize + 1,
dslDoubleSourceSize = dslHalfSourceSize + 1,
dslFullScreen = dslDoubleSourceSize + 1,
dslHalfScreen = dslFullScreen + 1,
dslQuarterScreen = dslHalfScreen + 1,
dslSixteenthScreen = dslQuarterScreen + 1
} DisplaySizeList;
typedef /* [public][public][public][public] */
enum __MIDL___MIDL_itf_msvidctl_0000_0003
{ STATE_UNBUILT = -1,
STATE_STOP = STATE_UNBUILT + 1,
STATE_PAUSE = STATE_STOP + 1,
STATE_PLAY = STATE_PAUSE + 1
} MSVidCtlStateList;
extern RPC_IF_HANDLE __MIDL_itf_msvidctl_0000_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_msvidctl_0000_v0_0_s_ifspec;
#ifndef __IMSVidCtl_INTERFACE_DEFINED__
#define __IMSVidCtl_INTERFACE_DEFINED__
/* interface IMSVidCtl */
/* [unique][helpstring][nonextensible][hidden][dual][uuid][object] */
EXTERN_C const IID IID_IMSVidCtl;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("B0EDF162-910A-11D2-B632-00C04F79498E")
IMSVidCtl : public IDispatch
{
public:
virtual /* [id][propget] */ HRESULT STDMETHODCALLTYPE get_AutoSize(
/* [retval][out] */ VARIANT_BOOL *pbool) = 0;
virtual /* [id][propput] */ HRESULT STDMETHODCALLTYPE put_AutoSize(
/* [in] */ VARIANT_BOOL vbool) = 0;
virtual /* [id][propget] */ HRESULT STDMETHODCALLTYPE get_BackColor(
/* [retval][out] */ OLE_COLOR *backcolor) = 0;
virtual /* [id][propput] */ HRESULT STDMETHODCALLTYPE put_BackColor(
/* [in] */ OLE_COLOR backcolor) = 0;
virtual /* [id][propget] */ HRESULT STDMETHODCALLTYPE get_Enabled(
/* [retval][out] */ VARIANT_BOOL *pbool) = 0;
virtual /* [id][propput] */ HRESULT STDMETHODCALLTYPE put_Enabled(
/* [in] */ VARIANT_BOOL vbool) = 0;
virtual /* [id][propget] */ HRESULT STDMETHODCALLTYPE get_TabStop(
/* [retval][out] */ VARIANT_BOOL *pbool) = 0;
virtual /* [id][propput] */ HRESULT STDMETHODCALLTYPE put_TabStop(
/* [in] */ VARIANT_BOOL vbool) = 0;
virtual /* [id][propget] */ HRESULT STDMETHODCALLTYPE get_Window(
/* [retval][out] */ HWND *phwnd) = 0;
virtual /* [id] */ HRESULT STDMETHODCALLTYPE Refresh( void) = 0;
virtual /* [id][propget] */ HRESULT STDMETHODCALLTYPE get_DisplaySize(
/* [retval][out] */ DisplaySizeList *CurrentValue) = 0;
virtual /* [id][propput] */ HRESULT STDMETHODCALLTYPE put_DisplaySize(
/* [in] */ DisplaySizeList NewValue) = 0;
virtual /* [id][propget] */ HRESULT STDMETHODCALLTYPE get_MaintainAspectRatio(
/* [retval][out] */ VARIANT_BOOL *CurrentValue) = 0;
virtual /* [id][propput] */ HRESULT STDMETHODCALLTYPE put_MaintainAspectRatio(
/* [in] */ VARIANT_BOOL NewValue) = 0;
virtual /* [id][propget] */ HRESULT STDMETHODCALLTYPE get_ColorKey(
/* [retval][out] */ OLE_COLOR *CurrentValue) = 0;
virtual /* [id][propput] */ HRESULT STDMETHODCALLTYPE put_ColorKey(
/* [in] */ OLE_COLOR NewValue) = 0;
virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_InputsAvailable(
/* [in] */ BSTR CategoryGuid,
/* [retval][out] */ IMSVidInputDevices **pVal) = 0;
virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_OutputsAvailable(
/* [in] */ BSTR CategoryGuid,
/* [retval][out] */ IMSVidOutputDevices **pVal) = 0;
virtual /* [helpstring][restricted][hidden][id][propget] */ HRESULT STDMETHODCALLTYPE get__InputsAvailable(
/* [in] */ LPCGUID CategoryGuid,
/* [retval][out] */ IMSVidInputDevices **pVal) = 0;
virtual /* [helpstring][restricted][hidden][id][propget] */ HRESULT STDMETHODCALLTYPE get__OutputsAvailable(
/* [in] */ LPCGUID CategoryGuid,
/* [retval][out] */ IMSVidOutputDevices **pVal) = 0;
virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_VideoRenderersAvailable(
/* [retval][out] */ IMSVidVideoRendererDevices **pVal) = 0;
virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_AudioRenderersAvailable(
/* [retval][out] */ IMSVidAudioRendererDevices **pVal) = 0;
virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_FeaturesAvailable(
/* [retval][out] */ IMSVidFeatures **pVal) = 0;
virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_InputActive(
/* [retval][out] */ IMSVidInputDevice **pVal) = 0;
virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_InputActive(
/* [in] */ IMSVidInputDevice *pVal) = 0;
virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_OutputsActive(
/* [retval][out] */ IMSVidOutputDevices **pVal) = 0;
virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_OutputsActive(
/* [in] */ IMSVidOutputDevices *pVal) = 0;
virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_VideoRendererActive(
/* [retval][out] */ IMSVidVideoRenderer **pVal) = 0;
virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_VideoRendererActive(
/* [in] */ IMSVidVideoRenderer *pVal) = 0;
virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_AudioRendererActive(
/* [retval][out] */ IMSVidAudioRenderer **pVal) = 0;
virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_AudioRendererActive(
/* [in] */ IMSVidAudioRenderer *pVal) = 0;
virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_FeaturesActive(
/* [retval][out] */ IMSVidFeatures **pVal) = 0;
virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_FeaturesActive(
/* [in] */ IMSVidFeatures *pVal) = 0;
virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_State(
/* [retval][out] */ MSVidCtlStateList *lState) = 0;
virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE View(
/* [in] */ VARIANT *v) = 0;
virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Build( void) = 0;
virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Pause( void) = 0;
virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Run( void) = 0;
virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Stop( void) = 0;
virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Decompose( void) = 0;
virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE DisableVideo( void) = 0;
virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE DisableAudio( void) = 0;
virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ViewNext(
/* [in] */ VARIANT *v) = 0;
};
#else /* C style interface */
typedef struct IMSVidCtlVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
IMSVidCtl * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
IMSVidCtl * This);
ULONG ( STDMETHODCALLTYPE *Release )(
IMSVidCtl * This);
HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
IMSVidCtl * This,
/* [out] */ UINT *pctinfo);
HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
IMSVidCtl * This,
/* [in] */ UINT iTInfo,
/* [in] */ LCID lcid,
/* [out] */ ITypeInfo **ppTInfo);
HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
IMSVidCtl * This,
/* [in] */ REFIID riid,
/* [size_is][in] */ LPOLESTR *rgszNames,
/* [in] */ UINT cNames,
/* [in] */ LCID lcid,
/* [size_is][out] */ DISPID *rgDispId);
/* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
IMSVidCtl * This,
/* [in] */ DISPID dispIdMember,
/* [in] */ REFIID riid,
/* [in] */ LCID lcid,
/* [in] */ WORD wFlags,
/* [out][in] */ DISPPARAMS *pDispParams,
/* [out] */ VARIANT *pVarResult,
/* [out] */ EXCEPINFO *pExcepInfo,
/* [out] */ UINT *puArgErr);
/* [id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_AutoSize )(
IMSVidCtl * This,
/* [retval][out] */ VARIANT_BOOL *pbool);
/* [id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_AutoSize )(
IMSVidCtl * This,
/* [in] */ VARIANT_BOOL vbool);
/* [id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_BackColor )(
IMSVidCtl * This,
/* [retval][out] */ OLE_COLOR *backcolor);
/* [id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_BackColor )(
IMSVidCtl * This,
/* [in] */ OLE_COLOR backcolor);
/* [id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Enabled )(
IMSVidCtl * This,
/* [retval][out] */ VARIANT_BOOL *pbool);
/* [id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Enabled )(
IMSVidCtl * This,
/* [in] */ VARIANT_BOOL vbool);
/* [id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_TabStop )(
IMSVidCtl * This,
/* [retval][out] */ VARIANT_BOOL *pbool);
/* [id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_TabStop )(
IMSVidCtl * This,
/* [in] */ VARIANT_BOOL vbool);
/* [id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Window )(
IMSVidCtl * This,
/* [retval][out] */ HWND *phwnd);
/* [id] */ HRESULT ( STDMETHODCALLTYPE *Refresh )(
IMSVidCtl * This);
/* [id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_DisplaySize )(
IMSVidCtl * This,
/* [retval][out] */ DisplaySizeList *CurrentValue);
/* [id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_DisplaySize )(
IMSVidCtl * This,
/* [in] */ DisplaySizeList NewValue);
/* [id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_MaintainAspectRatio )(
IMSVidCtl * This,
/* [retval][out] */ VARIANT_BOOL *CurrentValue);
/* [id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_MaintainAspectRatio )(
IMSVidCtl * This,
/* [in] */ VARIANT_BOOL NewValue);
/* [id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ColorKey )(
IMSVidCtl * This,
/* [retval][out] */ OLE_COLOR *CurrentValue);
/* [id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_ColorKey )(
IMSVidCtl * This,
/* [in] */ OLE_COLOR NewValue);
/* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_InputsAvailable )(
IMSVidCtl * This,
/* [in] */ BSTR CategoryGuid,
/* [retval][out] */ IMSVidInputDevices **pVal);
/* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_OutputsAvailable )(
IMSVidCtl * This,
/* [in] */ BSTR CategoryGuid,
/* [retval][out] */ IMSVidOutputDevices **pVal);
/* [helpstring][restricted][hidden][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get__InputsAvailable )(
IMSVidCtl * This,
/* [in] */ LPCGUID CategoryGuid,
/* [retval][out] */ IMSVidInputDevices **pVal);
/* [helpstring][restricted][hidden][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get__OutputsAvailable )(
IMSVidCtl * This,
/* [in] */ LPCGUID CategoryGuid,
/* [retval][out] */ IMSVidOutputDevices **pVal);
/* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_VideoRenderersAvailable )(
IMSVidCtl * This,
/* [retval][out] */ IMSVidVideoRendererDevices **pVal);
/* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_AudioRenderersAvailable )(
IMSVidCtl * This,
/* [retval][out] */ IMSVidAudioRendererDevices **pVal);
/* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_FeaturesAvailable )(
IMSVidCtl * This,
/* [retval][out] */ IMSVidFeatures **pVal);
/* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_InputActive )(
IMSVidCtl * This,
/* [retval][out] */ IMSVidInputDevice **pVal);
/* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_InputActive )(
IMSVidCtl * This,
/* [in] */ IMSVidInputDevice *pVal);
/* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_OutputsActive )(
IMSVidCtl * This,
/* [retval][out] */ IMSVidOutputDevices **pVal);
/* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_OutputsActive )(
IMSVidCtl * This,
/* [in] */ IMSVidOutputDevices *pVal);
/* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_VideoRendererActive )(
IMSVidCtl * This,
/* [retval][out] */ IMSVidVideoRenderer **pVal);
/* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_VideoRendererActive )(
IMSVidCtl * This,
/* [in] */ IMSVidVideoRenderer *pVal);
/* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_AudioRendererActive )(
IMSVidCtl * This,
/* [retval][out] */ IMSVidAudioRenderer **pVal);
/* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_AudioRendererActive )(
IMSVidCtl * This,
/* [in] */ IMSVidAudioRenderer *pVal);
/* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_FeaturesActive )(
IMSVidCtl * This,
/* [retval][out] */ IMSVidFeatures **pVal);
/* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_FeaturesActive )(
IMSVidCtl * This,
/* [in] */ IMSVidFeatures *pVal);
/* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_State )(
IMSVidCtl * This,
/* [retval][out] */ MSVidCtlStateList *lState);
/* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *View )(
IMSVidCtl * This,
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -