' ########################################################################################
' Microsoft Windows
' File: MSVidCtl.inc
' Copyright (c) 2011 Jos? Roca
' Portions Copyright (c) Microsoft Corporation.
' All Rights Reserved.
' THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER
' EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF
' MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
' ########################################################################################
' ########################################################################################
' Library name: MSVidCtlLib
' Version: 1.0
' Documentation string: MS Video Control 1.0 Type Library
' Path: C:\WINDOWS\system32\msvidctl.dll
' Library GUID: {B0EDF154-910A-11D2-B632-00C04F79498E}
' ########################################################################################
#IF NOT %DEF(PBX_msvidctl_PBI)
#DEFINE PBX_msvidctl_PBI
%EQUATE `MSVIDCTL_INC = 1
#INCLUDE ONCE "Core/Windows.inc"
$LIBID_MSVidCtlLib = GUID$("{B0EDF154-910A-11D2-B632-00C04F79498E}")
' ========================================================================================
' ProgIDs (Program identifiers)
' ========================================================================================
' CLSID = {577FAA18-4518-445E-8F70-1473F8CF4BA4}
$PROGID_MSVidCtlMSEventBinder1 = "MSVidCtl.MSEventBinder.1"
' CLSID = {1C15D484-911D-11D2-B632-00C04F79498E}
$PROGID_MSVidCtlMSVidAnalogTunerDevice1 = "MSVidCtl.MSVidAnalogTunerDevice.1"
' CLSID = {37B03544-A4C8-11D2-B634-00C04F79498E}
$PROGID_MSVidCtlMSVidAudioRenderer1 = "MSVidCtl.MSVidAudioRenderer.1"
' CLSID = {C5702CCF-9B79-11D3-B654-00C04F79498E}
$PROGID_MSVidCtlMSVidAudioRendererDevices1 = "MSVidCtl.MSVidAudioRendererDevices.1"
' CLSID = {A2E3074E-6C3D-11D3-B653-00C04F79498E}
$PROGID_MSVidCtlMSVidBDATunerDevice1 = "MSVidCtl.MSVidBDATunerDevice.1"
' CLSID = {7F9CB14D-48E4-43B6-9346-1AEBC39C64D3}
$PROGID_MSVidCtlMSVidClosedCaptioning1 = "MSVidCtl.MSVidClosedCaptioning.1"
' CLSID = {B0EDF163-910A-11D2-B632-00C04F79498E}
$PROGID_MSVidCtlMSVidCtl1 = "MSVidCtl.MSVidCtl.1"
' CLSID = {334125C0-77E5-11D3-B653-00C04F79498E}
$PROGID_MSVidCtlMSVidDataServices1 = "MSVidCtl.MSVidDataServices.1"
' CLSID = {BB530C63-D9DF-4B49-9439-63453962E598}
$PROGID_MSVidCtlMSVidEncoder1 = "MSVidCtl.MSVidEncoder.1"
' CLSID = {C5702CD0-9B79-11D3-B654-00C04F79498E}
$PROGID_MSVidCtlMSVidFeatures1 = "MSVidCtl.MSVidFeatures.1"
' CLSID = {37B0353C-A4C8-11D2-B634-00C04F79498E}
$PROGID_MSVidCtlMSVidFilePlaybackDevice1 = "MSVidCtl.MSVidFilePlaybackDevice.1"
' CLSID = {4A5869CF-929D-4040-AE03-FCAFC5B9CD42}
$PROGID_MSVidCtlMSVidGenericSink1 = "MSVidCtl.MSVidGenericSink.1"
' CLSID = {C5702CCC-9B79-11D3-B654-00C04F79498E}
$PROGID_MSVidCtlMSVidInputDevices1 = "MSVidCtl.MSVidInputDevices.1"
' CLSID = {C5702CCD-9B79-11D3-B654-00C04F79498E}
$PROGID_MSVidCtlMSVidOutputDevices1 = "MSVidCtl.MSVidOutputDevices.1"
$PROGID_MSVidCtlMSVidStreamBufferRecordingControl1 = "MSVidCtl.MSVidStreamBufferRecordingControl.1"
' CLSID = {9E77AAC4-35E5-42A1-BDC2-8F3FF399847C}
$PROGID_MSVidCtlMSVidStreamBufferSink1 = "MSVidCtl.MSVidStreamBufferSink.1"
' CLSID = {AD8E510D-217F-409B-8076-29C5E73B98E8}
$PROGID_MSVidCtlMSVidStreamBufferSource1 = "MSVidCtl.MSVidStreamBufferSource.1"
' CLSID = {37B03543-A4C8-11D2-B634-00C04F79498E}
$PROGID_MSVidCtlMSVidVideoRenderer1 = "MSVidCtl.MSVidVideoRenderer.1"
' CLSID = {C5702CCE-9B79-11D3-B654-00C04F79498E}
$PROGID_MSVidCtlMSVidVideoRendererDevices1 = "MSVidCtl.MSVidVideoRendererDevices.1"
' CLSID = {011B3619-FE63-4814-8A84-15A194CE9CE3}
$PROGID_MSVidCtlMSVidWebDVD1 = "MSVidCtl.MSVidWebDVD.1"
' CLSID = {FA7C375B-66A7-4280-879D-FD459C84BB02}
$PROGID_MSVidCtlMSVidWebDVDAdm1 = "MSVidCtl.MSVidWebDVDAdm.1"
' CLSID = {0149EEDF-D08F-4142-8D73-D23903D21E90}
$PROGID_MSVidCtlMSVidXDS1 = "MSVidCtl.MSVidXDS.1"
' ========================================================================================
' Version independent ProgIDs
' ========================================================================================
' CLSID = {577FAA18-4518-445E-8F70-1473F8CF4BA4}
$PROGID_MSVidCtlMSEventBinder = "MSVidCtl.MSEventBinder"
' CLSID = {1C15D484-911D-11D2-B632-00C04F79498E}
$PROGID_MSVidCtlMSVidAnalogTunerDevice = "MSVidCtl.MSVidAnalogTunerDevice"
' CLSID = {37B03544-A4C8-11D2-B634-00C04F79498E}
$PROGID_MSVidCtlMSVidAudioRenderer = "MSVidCtl.MSVidAudioRenderer"
' CLSID = {C5702CCF-9B79-11D3-B654-00C04F79498E}
$PROGID_MSVidCtlMSVidAudioRendererDevices = "MSVidCtl.MSVidAudioRendererDevices"
' CLSID = {A2E3074E-6C3D-11D3-B653-00C04F79498E}
$PROGID_MSVidCtlMSVidBDATunerDevice = "MSVidCtl.MSVidBDATunerDevice"
' CLSID = {7F9CB14D-48E4-43B6-9346-1AEBC39C64D3}
$PROGID_MSVidCtlMSVidClosedCaptioning = "MSVidCtl.MSVidClosedCaptioning"
' CLSID = {B0EDF163-910A-11D2-B632-00C04F79498E}
$PROGID_MSVidCtlMSVidCtl = "MSVidCtl.MSVidCtl"
' CLSID = {334125C0-77E5-11D3-B653-00C04F79498E}
$PROGID_MSVidCtlMSVidDataServices = "MSVidCtl.MSVidDataServices"
' CLSID = {BB530C63-D9DF-4B49-9439-63453962E598}
$PROGID_MSVidCtlMSVidEncoder = "MSVidCtl.MSVidEncoder"
' CLSID = {C5702CD0-9B79-11D3-B654-00C04F79498E}
$PROGID_MSVidCtlMSVidFeatures = "MSVidCtl.MSVidFeatures"
' CLSID = {37B0353C-A4C8-11D2-B634-00C04F79498E}
$PROGID_MSVidCtlMSVidFilePlaybackDevice = "MSVidCtl.MSVidFilePlaybackDevice"
' CLSID = {4A5869CF-929D-4040-AE03-FCAFC5B9CD42}
$PROGID_MSVidCtlMSVidGenericSink = "MSVidCtl.MSVidGenericSink"
' CLSID = {C5702CCC-9B79-11D3-B654-00C04F79498E}
$PROGID_MSVidCtlMSVidInputDevices = "MSVidCtl.MSVidInputDevices"
' CLSID = {C5702CCD-9B79-11D3-B654-00C04F79498E}
$PROGID_MSVidCtlMSVidOutputDevices = "MSVidCtl.MSVidOutputDevices"
' CLSID = {CAAFDD83-CEFC-4E3D-BA03-175F17A24F91}
$PROGID_MSVidCtlMSVidStreamBufferRecordingControl = "MSVidCtl.MSVidStreamBufferRecordingControl"
' CLSID = {9E77AAC4-35E5-42A1-BDC2-8F3FF399847C}
$PROGID_MSVidCtlMSVidStreamBufferSink = "MSVidCtl.MSVidStreamBufferSink"
' CLSID = {AD8E510D-217F-409B-8076-29C5E73B98E8}
$PROGID_MSVidCtlMSVidStreamBufferSource = "MSVidCtl.MSVidStreamBufferSource"
' CLSID = {37B03543-A4C8-11D2-B634-00C04F79498E}
$PROGID_MSVidCtlMSVidVideoRenderer = "MSVidCtl.MSVidVideoRenderer"
' CLSID = {C5702CCE-9B79-11D3-B654-00C04F79498E}
$PROGID_MSVidCtlMSVidVideoRendererDevices = "MSVidCtl.MSVidVideoRendererDevices"
' CLSID = {011B3619-FE63-4814-8A84-15A194CE9CE3}
$PROGID_MSVidCtlMSVidWebDVD = "MSVidCtl.MSVidWebDVD"
' CLSID = {FA7C375B-66A7-4280-879D-FD459C84BB02}
$PROGID_MSVidCtlMSVidWebDVDAdm = "MSVidCtl.MSVidWebDVDAdm"
' CLSID = {0149EEDF-D08F-4142-8D73-D23903D21E90}
$PROGID_MSVidCtlMSVidXDS = "MSVidCtl.MSVidXDS"
' ========================================================================================
' ClsIDs (Class identifiers)
' ========================================================================================
$CLSID_MSVidAnalogCaptureToDataServices = GUID$("{C5702CD6-9B79-11D3-B654-00C04F79498E}")
$CLSID_MSVidAnalogCaptureToOverlayMixer = GUID$("{E18AF75A-08AF-11D3-B64A-00C04F79498E}")
$CLSID_MSVidAnalogCaptureToStreamBufferSink = GUID$("{9F50E8B1-9530-4DDC-825E-1AF81D47AED6}")
$CLSID_MSVidAnalogCaptureToCCA = GUID$("{942B7909-A28E-49A1-A207-34EBCBCB4B3B}")
$CLSID_MSVidAnalogCaptureToXDS = GUID$("{3540D440-5B1D-49CB-821A-E84B8CF065A7}")
$CLSID_MSVidAnalogTVToEncoder = GUID$("{28953661-0231-41DB-8986-21FF4388EE9B}")
$CLSID_MSVidCCA = GUID$("{86151827-E47B-45EE-8421-D10E6E690979}")
$CLSID_MSVidCCAToStreamBufferSink = GUID$("{3EF76D68-8661-4843-8B8F-C37163D8C9CE}")
$CLSID_MSVidDataServicesToStreamBufferSink = GUID$("{38F03426-E83B-4E68-B65B-DCAE73304838}")
$CLSID_MSVidDataServicesToXDS = GUID$("{0429EC6E-1144-4BED-B88B-2FB9899A4A3D}")
$CLSID_MSVidDevice = GUID$("{6E40476F-9C49-4C3E-8BB9-8587958EFF74}")
$CLSID_MSVidDevice2 = GUID$("{30997F7D-B3B5-4A1C-983A-1FE8098CB77D}")
$CLSID_MSVidDigitalCaptureToStreamBufferSink = GUID$("{ABE40035-27C3-4A2F-8153-6624471608AF}")
$CLSID_MSVidDigitalCaptureToCCA = GUID$("{73D14237-B9DB-4efa-A6DD-84350421FB2F}")
$CLSID_MSVidDigitalCaptureToITV = GUID$("{5D8E73F7-4989-4AC8-8A98-39BA0D325302}")
$CLSID_MSVidEncoderToStreamBufferSink = GUID$("{A0B9B497-AFBC-45AD-A8A6-9B077C40D4F2}")
$CLSID_MSVidEVR = GUID$("{C45268A2-FA81-4e19-B1E3-72EDBD60AEDA}")
$CLSID_MSVidFeature = GUID$("{7748530B-C08A-47EA-B24C-BE8695FF405F}")
$CLSID_MSVidFilePlaybackToAudioRenderer = GUID$("{CC23F537-18D4-4ECE-93BD-207A84726979}")
$CLSID_MSVidFilePlaybackToVideoRenderer = GUID$("{B401C5EB-8457-427F-84EA-A4D2363364B0}")
$CLSID_MSVidGenericComposite = GUID$("{2764BCE5-CC39-11D2-B639-00C04F79498E}")
$CLSID_MSVidInputDevice = GUID$("{AC1972F2-138A-4CA3-90DA-AE51112EDA28}")
$CLSID_MSVidITVToStreamBufferSink = GUID$("{92B94828-1AF7-4E6E-9EBF-770657F77AF5}")
$CLSID_MSVidMPEG2DecoderToClosedCaptioning = GUID$("{6AD28EE1-5002-4E71-AAF7-BD077907B1A4}")
$CLSID_MSVidOutput = GUID$("{87EB890D-03AD-4E9D-9866-376E5EC572ED}")
$CLSID_MSVidRect = GUID$("{CB4276E6-7D5F-4CF1-9727-629C5E6DB6AE}")
$CLSID_MSVidSBESourceToCC = GUID$("{9193A8F9-0CBA-400E-AA97-EB4709164576}")
$CLSID_MSVidStreamBufferSourceToVideoRenderer = GUID$("{3C4708DC-B181-46A8-8DA8-4AB0371758CD}")
$CLSID_MSVidVideoInputDevice = GUID$("{95F4820B-BB3A-4E2D-BC64-5B817BC2C30E}")
$CLSID_MSVidVideoPlaybackDevice = GUID$("{1990D634-1A5E-4071-A34A-53AAFFCE9F36}")
$CLSID_MSVidWebDVDToAudioRenderer = GUID$("{8D04238E-9FD1-41C6-8DE3-9E1EE309E935}")
$CLSID_MSVidWebDVDToVideoRenderer = GUID$("{267DB0B3-55E3-4902-949B-DF8F5CEC0191}")
$CLSID_MSEventBinder = GUID$("{577FAA18-4518-445E-8F70-1473F8CF4BA4}")
$CLSID_MSVidAnalogTunerDevice = GUID$("{1C15D484-911D-11D2-B632-00C04F79498E}")
$CLSID_MSVidAudioRenderer = GUID$("{37B03544-A4C8-11D2-B634-00C04F79498E}")
$CLSID_MSVidAudioRendererDevices = GUID$("{C5702CCF-9B79-11D3-B654-00C04F79498E}")
$CLSID_MSVidBDATunerDevice = GUID$("{A2E3074E-6C3D-11D3-B653-00C04F79498E}")
$CLSID_MSVidCCToAR = GUID$("{D76334CA-D89E-4BAF-86AB-DDB59372AFC2}")
$CLSID_MSVidCCToVMR = GUID$("{C4BF2784-AE00-41BA-9828-9C953BD3C54A}")
$CLSID_MSVidClosedCaptioning = GUID$("{7F9CB14D-48E4-43B6-9346-1AEBC39C64D3}")
$CLSID_MSVidClosedCaptioningSI = GUID$("{92ED88BF-879E-448f-B6B6-A385BCEB846D}")
$CLSID_MSVidCtl = GUID$("{B0EDF163-910A-11D2-B632-00C04F79498E}")
$CLSID_MSVidDataServices = GUID$("{334125C0-77E5-11D3-B653-00C04F79498E}")
$CLSID_MSVidEncoder = GUID$("{BB530C63-D9DF-4B49-9439-63453962E598}")
$CLSID_MSVidFeatures = GUID$("{C5702CD0-9B79-11D3-B654-00C04F79498E}")
$CLSID_MSVidFilePlaybackDevice = GUID$("{37B0353C-A4C8-11D2-B634-00C04F79498E}")
$CLSID_MSVidGenericSink = GUID$("{4A5869CF-929D-4040-AE03-FCAFC5B9CD42}")
$CLSID_MSVidInputDevices = GUID$("{C5702CCC-9B79-11D3-B654-00C04F79498E}")
$CLSID_MSVidITVCapture = GUID$("{5740A302-EF0B-45CE-BF3B-4470A14A8980}")
$CLSID_MSVidITVPlayback = GUID$("{9E797ED0-5253-4243-A9B7-BD06C58F8EF3}")
$CLSID_MSVidOutputDevices = GUID$("{C5702CCD-9B79-11D3-B654-00C04F79498E}")
$CLSID_MSVidSBESourceToCC = GUID$("{9193A8F9-0CBA-400E-AA97-EB4709164576}")
$CLSID_MSVidSBESourceToGenericSink = GUID$("{991DA7E5-953F-435B-BE5E-B92A05EDFC42}")
$CLSID_MSVidSBESourceToITV = GUID$("{2291478C-5EE3-4BEF-AB5D-B5FF2CF58352}")
$CLSID_MSVidStreamBufferRecordingControl = GUID$("{CAAFDD83-CEFC-4E3D-BA03-175F17A24F91}")
$CLSID_MSVidStreamBufferSink = GUID$("{9E77AAC4-35E5-42A1-BDC2-8F3FF399847C}")
$CLSID_MSVidStreamBufferSource = GUID$("{AD8E510D-217F-409B-8076-29C5E73B98E8}")
$CLSID_MSVidStreamBufferV2Source = GUID$("{FD351EA1-4173-4af4-821D-80D4AE979048}")
$CLSID_MSVidVideoRenderer = GUID$("{37B03543-A4C8-11D2-B634-00C04F79498E}")
$CLSID_MSVidVideoRendererDevices = GUID$("{C5702CCE-9B79-11D3-B654-00C04F79498E}")
$CLSID_MSVidWebDVD = GUID$("{011B3619-FE63-4814-8A84-15A194CE9CE3}")
$CLSID_MSVidWebDVDAdm = GUID$("{FA7C375B-66A7-4280-879D-FD459C84BB02}")
$CLSID_MSVidVMR9 = GUID$("{24DC3975-09BF-4231-8655-3EE71F43837D}")
$CLSID_MSVidXDS = GUID$("{0149EEDF-D08F-4142-8D73-D23903D21E90}")
' ========================================================================================
' IIDs (Interface identifiers)
' ========================================================================================
$IID_IMSEventBinder = GUID$("{C3A9F406-2222-436D-86D5-BA3229279EFB}")
$IID_IMSVidCtl = GUID$("{B0EDF162-910A-11D2-B632-00C04F79498E}")
$IID__IMSVidCtlEvents = GUID$("{B0EDF164-910A-11D2-B632-00C04F79498E}")
$SID_MSVidCtl_CurrentAudioEndpoint = GUID$("{cf9a88f4-abcf-4ed8-9b74-7db33445459e}")
'/* header files for imported files */
#INCLUDE ONCE "Legacy/System/MSHTML.inc"
#INCLUDE ONCE "Legacy/System/segment.inc"
' ========================================================================================
' MSViddispidList enum
' ========================================================================================
%EQUATE `dispidInputs = 0
%EQUATE `dispidOutputs = %dispidInputs + 1
%EQUATE `dispid_Inputs = %dispidOutputs + 1
%EQUATE `dispid_Outputs = %dispid_Inputs + 1
%EQUATE `dispidVideoRenderers = %dispid_Outputs + 1
%EQUATE `dispidAudioRenderers = %dispidVideoRenderers + 1
%EQUATE `dispidFeatures = %dispidAudioRenderers + 1
%EQUATE `dispidInput = %dispidFeatures + 1
%EQUATE `dispidOutput = %dispidInput + 1
%EQUATE `dispidVideoRenderer = %dispidOutput + 1
%EQUATE `dispidAudioRenderer = %dispidVideoRenderer + 1
%EQUATE `dispidSelectedFeatures = %dispidAudioRenderer + 1
%EQUATE `dispidView = %dispidSelectedFeatures + 1
%EQUATE `dispidBuild = %dispidView + 1
%EQUATE `dispidPause = %dispidBuild + 1
%EQUATE `dispidRun = %dispidPause + 1
%EQUATE `dispidStop = %dispidRun + 1
%EQUATE `dispidDecompose = %dispidStop + 1
%EQUATE `dispidDisplaySize = %dispidDecompose + 1
%EQUATE `dispidMaintainAspectRatio = %dispidDisplaySize + 1
%EQUATE `dispidColorKey = %dispidMaintainAspectRatio + 1
%EQUATE `dispidStateChange = %dispidColorKey + 1
%EQUATE `dispidgetState = %dispidStateChange + 1
%EQUATE `dispidunbind = %dispidgetState + 1
%EQUATE `dispidbind = %dispidunbind + 1
%EQUATE `dispidDisableVideo = %dispidbind + 1
%EQUATE `dispidDisableAudio = %dispidDisableVideo + 1
%EQUATE `dispidViewNext = %dispidDisableAudio + 1
%EQUATE `dispidServiceP = %dispidViewNext + 1
' ========================================================================================
' DisplaySizeList enum
' ========================================================================================
%EQUATE `dslDefaultSize = 0
%EQUATE `dslSourceSize = 0
%EQUATE `dslHalfSourceSize = %dslSourceSize + 1
%EQUATE `dslDoubleSourceSize = %dslHalfSourceSize + 1
%EQUATE `dslFullScreen = %dslDoubleSourceSize + 1
%EQUATE `dslHalfScreen = %dslFullScreen + 1
%EQUATE `dslQuarterScreen = %dslHalfScreen + 1
%EQUATE `dslSixteenthScreen = %dslQuarterScreen + 1
' ========================================================================================
' MSVidCtlStateList enum
' ========================================================================================
%EQUATE `MSVidCtlStateList_STATE_UNBUILT = -1
%EQUATE `MSVidCtlStateList_STATE_STOP = %MSVidCtlStateList_STATE_UNBUILT + 1
%EQUATE `MSVidCtlStateList_STATE_PAUSE = %MSVidCtlStateList_STATE_STOP + 1
%EQUATE `MSVidCtlStateList_STATE_PLAY = %MSVidCtlStateList_STATE_PAUSE + 1
' ########################################################################################
' Interface name = IMSVidCtl
' IID = {B0EDF162-910A-11D2-B632-00C04F79498E}
' Attributes = 4304 [&H10D0] [Hidden] [Dual] [Nonextensible] [Dispatchable]
' Inherited interface = IDispatch
' ########################################################################################
#IF NOT %DEF(%IMSVidCtl_INTERFACE_DEFINED)
 %IMSVidCtl_INTERFACE_DEFINED = 1
INTERFACE IMSVidCtl $IID_IMSVidCtl
 INHERIT IDispatch
 ' =====================================================================================
 PROPERTY GET AutoSize <-500> ( ' VTable offset = 28
 ) AS INTEGER
 ' =====================================================================================
 PROPERTY SET AutoSize <-500> ( ' VTable offset = 32
 BYVAL vbool AS INTEGER
 ) ' void
 ' =====================================================================================
 PROPERTY GET BackColor <-501> ( ' VTable offset = 36
 ) AS DWORD
 ' =====================================================================================
 PROPERTY SET BackColor <-501> ( ' VTable offset = 40
 BYVAL backcolor AS DWORD
 ) ' void
 ' =====================================================================================
 PROPERTY GET Enabled <-514> ( ' VTable offset = 44
 ) AS INTEGER
 ' =====================================================================================
 PROPERTY SET Enabled <-514> ( ' VTable offset = 48
 BYVAL vbool AS INTEGER
 ) ' void
 ' =====================================================================================
 PROPERTY GET TabStop <-516> ( ' VTable offset = 52
 ) AS INTEGER
 ' =====================================================================================
 PROPERTY SET TabStop <-516> ( ' VTable offset = 56
 BYVAL vbool AS INTEGER
 ) ' void
 ' =====================================================================================
 PROPERTY GET Window <-515> ( ' VTable offset = 60
 ) AS DWORD
 ' =====================================================================================
 METHOD Refresh <-550> ( ' VTable offset = 64
 ) ' void
 ' =====================================================================================
 PROPERTY GET DisplaySize <18> ( ' VTable offset = 68
 ) AS LONG
 ' =====================================================================================
 PROPERTY SET DisplaySize <18> ( ' VTable offset = 72
 BYVAL NewValue AS LONG
 ) ' void
 ' =====================================================================================
 PROPERTY GET MaintainAspectRatio <19> ( ' VTable offset = 76
 ) AS INTEGER
 ' =====================================================================================
 PROPERTY SET MaintainAspectRatio <19> ( ' VTable offset = 80
 BYVAL NewValue AS INTEGER
 ) ' void
 ' =====================================================================================
 PROPERTY GET ColorKey <20> ( ' VTable offset = 84
 ) AS DWORD
 ' =====================================================================================
 PROPERTY SET ColorKey <20> ( ' VTable offset = 88
 BYVAL NewValue AS DWORD
 ) ' void
 ' =====================================================================================
 PROPERTY GET InputsAvailable <0> ( ' VTable offset = 92
 BYVAL CategoryGuid AS WSTRING
 ) AS IMSVidInputDevices
 ' =====================================================================================
 PROPERTY GET OutputsAvailable <1> ( ' VTable offset = 96
 BYVAL CategoryGuid AS WSTRING
 ) AS IMSVidOutputDevices
 ' =====================================================================================
 PROPERTY GET InputsAvailable_ <2> ( ' VTable offset = 100
 BYREF IN CategoryGuid AS GUID
 ) AS IMSVidInputDevices
 ' =====================================================================================
 PROPERTY GET OutputsAvailable_ <3> ( ' VTable offset = 104
 BYREF IN CategoryGuid AS GUID
 ) AS IMSVidOutputDevices
 ' =====================================================================================
 PROPERTY GET VideoRenderersAvailable <4> ( ' VTable offset = 108
 ) AS IMSVidVideoRendererDevices
 ' =====================================================================================
 PROPERTY GET AudioRenderersAvailable <5> ( ' VTable offset = 112
 ) AS IMSVidAudioRendererDevices
 ' =====================================================================================
 PROPERTY GET FeaturesAvailable <6> ( ' VTable offset = 116
 ) AS IMSVidFeatures
 ' =====================================================================================
 PROPERTY GET InputActive <7> ( ' VTable offset = 120
 ) AS IMSVidInputDevice
 ' =====================================================================================
 PROPERTY SET InputActive <7> ( ' VTable offset = 124
 BYVAL pVal AS IMSVidInputDevice
 ) ' void
 ' =====================================================================================
 PROPERTY GET OutputsActive <8> ( ' VTable offset = 128
 ) AS IMSVidOutputDevices
 ' =====================================================================================
 PROPERTY SET OutputsActive <8> ( ' VTable offset = 132
 BYVAL pVal AS IMSVidOutputDevices
 ) ' void
 ' =====================================================================================
 PROPERTY GET VideoRendererActive <9> ( ' VTable offset = 136
 ) AS IMSVidVideoRenderer
 ' =====================================================================================
 PROPERTY SET VideoRendererActive <9> ( ' VTable offset = 140
 BYVAL pVal AS IMSVidVideoRenderer
 ) ' void
 ' =====================================================================================
 PROPERTY GET AudioRendererActive <10> ( ' VTable offset = 144
 ) AS IMSVidAudioRenderer
 ' =====================================================================================
 PROPERTY SET AudioRendererActive <10> ( ' VTable offset = 148
 BYVAL pVal AS IMSVidAudioRenderer
 ) ' void
 ' =====================================================================================
 PROPERTY GET FeaturesActive <11> ( ' VTable offset = 152
 ) AS IMSVidFeatures
 ' =====================================================================================
 PROPERTY SET FeaturesActive <11> ( ' VTable offset = 156
 BYVAL pVal AS IMSVidFeatures
 ) ' void
 ' =====================================================================================
 PROPERTY GET State <22> ( ' VTable offset = 160
 ) AS LONG
 ' =====================================================================================
 METHOD View <12> ( ' VTable offset = 164
 BYREF v AS VARIANT
 ) ' void
 ' =====================================================================================
 METHOD Build <13> ( ' VTable offset = 168
 ) ' void
 ' =====================================================================================
 METHOD Pause <14> ( ' VTable offset = 172
 ) ' void
 ' =====================================================================================
 METHOD Run <15> ( ' VTable offset = 176
 ) ' void
 ' =====================================================================================
 METHOD Stop <16> ( ' VTable offset = 180
 ) ' void
 ' =====================================================================================
 METHOD Decompose ( ' VTable offset = 184
 ) ' void
 ' =====================================================================================
 METHOD DisableVideo <25> ( ' VTable offset = 188
 ) ' void
 ' =====================================================================================
 METHOD DisableAudio <26> ( ' VTable offset = 192
 ) ' void
 ' =====================================================================================
 METHOD ViewNext <27> ( ' VTable offset = 196
 BYREF v AS VARIANT
 ) ' void
 ' =====================================================================================
 ' Note: Removed in the Windows Vista SDK
 PROPERTY SET ServiceProvider <28> ( ' VTable offset = 200
 BYVAL pServiceP AS IUnknown
 ) ' void
 ' =====================================================================================
END INTERFACE
#ENDIF ' /* __IMSVidCtl_INTERFACE_DEFINED__ */
' ########################################################################################
' Interface name = IMSEventBinder
' IID = {C3A9F406-2222-436D-86D5-BA3229279EFB}
' Attributes = 4304 [&H10D0] [Hidden] [Dual] [Nonextensible] [Dispatchable]
' Inherited interface = IDispatch
' ########################################################################################
#IF NOT %DEF(%IMSEventBinder_INTERFACE_DEFINED)
 %IMSEventBinder_INTERFACE_DEFINED = 1
INTERFACE IMSEventBinder $IID_IMSEventBinder
 INHERIT IDispatch
 ' =====================================================================================
 METHOD Bind <24> ( ' VTable offset = 28
 BYVAL pEventObject AS IDispatch
 , BYVAL EventName AS WSTRING
 , BYVAL EventHandler AS WSTRING
 ) AS LONG
 ' =====================================================================================
 METHOD Unbind ( ' VTable offset = 32
 BYVAL CancelCookie AS DWORD
 ) ' void
 ' =====================================================================================
END INTERFACE
#ENDIF ' /* __IMSEventBinder_INTERFACE_DEFINED__ */
' ########################################################################################
' Interface name = _IMSVidCtlEvents
' IID = {B0EDF164-910A-11D2-B632-00C04F79498E}
' Inherited interface = IDispatch
' ########################################################################################
#IF NOT %DEF(%IMSVidCtlEvents_DISPINTERFACE_DEFINED)
 %IMSVidCtlEvents_DISPINTERFACE_DEFINED = 1
INTERFACE IMSVidCtlEvents $IID__IMSVidCtlEvents
 INHERIT IDispatch
END INTERFACE
#ENDIF ' /* ___IMSVidCtlEvents_DISPINTERFACE_DEFINED__ */
#ENDIF
