⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mediaplayer_tlb.pas

📁 ATViewer is a component for Delphi/C++Builder, which allows to view files of various types. There is
💻 PAS
📖 第 1 页 / 共 5 页
字号:
    function  Get_SelectionStart: Double; safecall;
    procedure Set_SelectionStart(pValue: Double); safecall;
    function  Get_SelectionEnd: Double; safecall;
    procedure Set_SelectionEnd(pValue: Double); safecall;
    function  Get_ShowDisplay: WordBool; safecall;
    procedure Set_ShowDisplay(Show: WordBool); safecall;
    function  Get_ShowControls: WordBool; safecall;
    procedure Set_ShowControls(Show: WordBool); safecall;
    function  Get_ShowPositionControls: WordBool; safecall;
    procedure Set_ShowPositionControls(Show: WordBool); safecall;
    function  Get_ShowTracker: WordBool; safecall;
    procedure Set_ShowTracker(Show: WordBool); safecall;
    function  Get_EnablePositionControls: WordBool; safecall;
    procedure Set_EnablePositionControls(Enable: WordBool); safecall;
    function  Get_EnableTracker: WordBool; safecall;
    procedure Set_EnableTracker(Enable: WordBool); safecall;
    function  Get_Enabled: WordBool; safecall;
    procedure Set_Enabled(pEnabled: WordBool); safecall;
    function  Get_DisplayForeColor: VB_OLE_COLOR; safecall;
    procedure Set_DisplayForeColor(ForeColor: VB_OLE_COLOR); safecall;
    function  Get_DisplayBackColor: VB_OLE_COLOR; safecall;
    procedure Set_DisplayBackColor(BackColor: VB_OLE_COLOR); safecall;
    function  Get_DisplayMode: MPDisplayModeConstants; safecall;
    procedure Set_DisplayMode(pValue: MPDisplayModeConstants); safecall;
    function  Get_VideoBorder3D: WordBool; safecall;
    procedure Set_VideoBorder3D(pVideoBorderWidth: WordBool); safecall;
    function  Get_VideoBorderWidth: Integer; safecall;
    procedure Set_VideoBorderWidth(pVideoBorderWidth: Integer); safecall;
    function  Get_VideoBorderColor: VB_OLE_COLOR; safecall;
    procedure Set_VideoBorderColor(pVideoBorderWidth: VB_OLE_COLOR); safecall;
    function  Get_ShowGotoBar: WordBool; safecall;
    procedure Set_ShowGotoBar(pbool: WordBool); safecall;
    function  Get_ShowStatusBar: WordBool; safecall;
    procedure Set_ShowStatusBar(pbool: WordBool); safecall;
    function  Get_ShowCaptioning: WordBool; safecall;
    procedure Set_ShowCaptioning(pbool: WordBool); safecall;
    function  Get_ShowAudioControls: WordBool; safecall;
    procedure Set_ShowAudioControls(pbool: WordBool); safecall;
    function  Get_CaptioningID: WideString; safecall;
    procedure Set_CaptioningID(const pstrText: WideString); safecall;
    function  Get_Mute: WordBool; safecall;
    procedure Set_Mute(vbool: WordBool); safecall;
    function  Get_CanPreview: WordBool; safecall;
    function  Get_PreviewMode: WordBool; safecall;
    procedure Set_PreviewMode(pPreviewMode: WordBool); safecall;
    function  Get_HasMultipleItems: WordBool; safecall;
    function  Get_Language: Integer; safecall;
    procedure Set_Language(pLanguage: Integer); safecall;
    function  Get_AudioStream: Integer; safecall;
    procedure Set_AudioStream(pStream: Integer); safecall;
    function  Get_SAMIStyle: WideString; safecall;
    procedure Set_SAMIStyle(const pbstrStyle: WideString); safecall;
    function  Get_SAMILang: WideString; safecall;
    procedure Set_SAMILang(const pbstrLang: WideString); safecall;
    function  Get_SAMIFileName: WideString; safecall;
    procedure Set_SAMIFileName(const pbstrFileName: WideString); safecall;
    function  Get_StreamCount: Integer; safecall;
    function  Get_ClientId: WideString; safecall;
    function  Get_ConnectionSpeed: Integer; safecall;
    function  Get_AutoSize: WordBool; safecall;
    procedure Set_AutoSize(pbool: WordBool); safecall;
    function  Get_EnableFullScreenControls: WordBool; safecall;
    procedure Set_EnableFullScreenControls(pbVal: WordBool); safecall;
    function  Get_ActiveMovie: IDispatch; safecall;
    function  Get_NSPlay: IDispatch; safecall;
    function  Get_WindowlessVideo: WordBool; safecall;
    procedure Set_WindowlessVideo(pbool: WordBool); safecall;
    procedure Play; safecall;
    procedure Stop; safecall;
    procedure Pause; safecall;
    function  GetMarkerTime(MarkerNum: Integer): Double; safecall;
    function  GetMarkerName(MarkerNum: Integer): WideString; safecall;
    procedure AboutBox; safecall;
    function  GetCodecInstalled(CodecNum: Integer): WordBool; safecall;
    function  GetCodecDescription(CodecNum: Integer): WideString; safecall;
    function  GetCodecURL(CodecNum: Integer): WideString; safecall;
    function  GetMoreInfoURL(MoreInfoType: MPMoreInfoType): WideString; safecall;
    function  GetMediaInfoString(MediaInfoType: MPMediaInfoType): WideString; safecall;
    procedure Cancel; safecall;
    procedure Open(const bstrFileName: WideString); safecall;
    function  IsSoundCardEnabled: WordBool; safecall;
    procedure Next; safecall;
    procedure Previous; safecall;
    procedure StreamSelect(StreamNum: Integer); safecall;
    procedure FastForward; safecall;
    procedure FastReverse; safecall;
    function  GetStreamName(StreamNum: Integer): WideString; safecall;
    function  GetStreamGroup(StreamNum: Integer): Integer; safecall;
    function  GetStreamSelected(StreamNum: Integer): WordBool; safecall;
    property CurrentPosition: Double read Get_CurrentPosition write Set_CurrentPosition;
    property Duration: Double read Get_Duration;
    property ImageSourceWidth: Integer read Get_ImageSourceWidth;
    property ImageSourceHeight: Integer read Get_ImageSourceHeight;
    property MarkerCount: Integer read Get_MarkerCount;
    property CanScan: WordBool read Get_CanScan;
    property CanSeek: WordBool read Get_CanSeek;
    property CanSeekToMarkers: WordBool read Get_CanSeekToMarkers;
    property CurrentMarker: Integer read Get_CurrentMarker write Set_CurrentMarker;
    property FileName: WideString read Get_FileName write Set_FileName;
    property SourceLink: WideString read Get_SourceLink;
    property CreationDate: TDateTime read Get_CreationDate;
    property ErrorCorrection: WideString read Get_ErrorCorrection;
    property Bandwidth: Integer read Get_Bandwidth;
    property SourceProtocol: Integer read Get_SourceProtocol;
    property ReceivedPackets: Integer read Get_ReceivedPackets;
    property RecoveredPackets: Integer read Get_RecoveredPackets;
    property LostPackets: Integer read Get_LostPackets;
    property ReceptionQuality: Integer read Get_ReceptionQuality;
    property BufferingCount: Integer read Get_BufferingCount;
    property IsBroadcast: WordBool read Get_IsBroadcast;
    property BufferingProgress: Integer read Get_BufferingProgress;
    property ChannelName: WideString read Get_ChannelName;
    property ChannelDescription: WideString read Get_ChannelDescription;
    property ChannelURL: WideString read Get_ChannelURL;
    property ContactAddress: WideString read Get_ContactAddress;
    property ContactPhone: WideString read Get_ContactPhone;
    property ContactEmail: WideString read Get_ContactEmail;
    property BufferingTime: Double read Get_BufferingTime write Set_BufferingTime;
    property AutoStart: WordBool read Get_AutoStart write Set_AutoStart;
    property AutoRewind: WordBool read Get_AutoRewind write Set_AutoRewind;
    property Rate: Double read Get_Rate write Set_Rate;
    property SendKeyboardEvents: WordBool read Get_SendKeyboardEvents write Set_SendKeyboardEvents;
    property SendMouseClickEvents: WordBool read Get_SendMouseClickEvents write Set_SendMouseClickEvents;
    property SendMouseMoveEvents: WordBool read Get_SendMouseMoveEvents write Set_SendMouseMoveEvents;
    property PlayCount: Integer read Get_PlayCount write Set_PlayCount;
    property ClickToPlay: WordBool read Get_ClickToPlay write Set_ClickToPlay;
    property AllowScan: WordBool read Get_AllowScan write Set_AllowScan;
    property EnableContextMenu: WordBool read Get_EnableContextMenu write Set_EnableContextMenu;
    property CursorType: Integer read Get_CursorType write Set_CursorType;
    property CodecCount: Integer read Get_CodecCount;
    property AllowChangeDisplaySize: WordBool read Get_AllowChangeDisplaySize write Set_AllowChangeDisplaySize;
    property IsDurationValid: WordBool read Get_IsDurationValid;
    property OpenState: Integer read Get_OpenState;
    property SendOpenStateChangeEvents: WordBool read Get_SendOpenStateChangeEvents write Set_SendOpenStateChangeEvents;
    property SendWarningEvents: WordBool read Get_SendWarningEvents write Set_SendWarningEvents;
    property SendErrorEvents: WordBool read Get_SendErrorEvents write Set_SendErrorEvents;
    property PlayState: MPPlayStateConstants read Get_PlayState;
    property SendPlayStateChangeEvents: WordBool read Get_SendPlayStateChangeEvents write Set_SendPlayStateChangeEvents;
    property DisplaySize: MPDisplaySizeConstants read Get_DisplaySize write Set_DisplaySize;
    property InvokeURLs: WordBool read Get_InvokeURLs write Set_InvokeURLs;
    property BaseURL: WideString read Get_BaseURL write Set_BaseURL;
    property DefaultFrame: WideString read Get_DefaultFrame write Set_DefaultFrame;
    property HasError: WordBool read Get_HasError;
    property ErrorDescription: WideString read Get_ErrorDescription;
    property ErrorCode: Integer read Get_ErrorCode;
    property AnimationAtStart: WordBool read Get_AnimationAtStart write Set_AnimationAtStart;
    property TransparentAtStart: WordBool read Get_TransparentAtStart write Set_TransparentAtStart;
    property Volume: Integer read Get_Volume write Set_Volume;
    property Balance: Integer read Get_Balance write Set_Balance;
    property ReadyState: MPReadyStateConstants read Get_ReadyState;
    property SelectionStart: Double read Get_SelectionStart write Set_SelectionStart;
    property SelectionEnd: Double read Get_SelectionEnd write Set_SelectionEnd;
    property ShowDisplay: WordBool read Get_ShowDisplay write Set_ShowDisplay;
    property ShowControls: WordBool read Get_ShowControls write Set_ShowControls;
    property ShowPositionControls: WordBool read Get_ShowPositionControls write Set_ShowPositionControls;
    property ShowTracker: WordBool read Get_ShowTracker write Set_ShowTracker;
    property EnablePositionControls: WordBool read Get_EnablePositionControls write Set_EnablePositionControls;
    property EnableTracker: WordBool read Get_EnableTracker write Set_EnableTracker;
    property Enabled: WordBool read Get_Enabled write Set_Enabled;
    property DisplayForeColor: VB_OLE_COLOR read Get_DisplayForeColor write Set_DisplayForeColor;
    property DisplayBackColor: VB_OLE_COLOR read Get_DisplayBackColor write Set_DisplayBackColor;
    property DisplayMode: MPDisplayModeConstants read Get_DisplayMode write Set_DisplayMode;
    property VideoBorder3D: WordBool read Get_VideoBorder3D write Set_VideoBorder3D;
    property VideoBorderWidth: Integer read Get_VideoBorderWidth write Set_VideoBorderWidth;
    property VideoBorderColor: VB_OLE_COLOR read Get_VideoBorderColor write Set_VideoBorderColor;
    property ShowGotoBar: WordBool read Get_ShowGotoBar write Set_ShowGotoBar;
    property ShowStatusBar: WordBool read Get_ShowStatusBar write Set_ShowStatusBar;
    property ShowCaptioning: WordBool read Get_ShowCaptioning write Set_ShowCaptioning;
    property ShowAudioControls: WordBool read Get_ShowAudioControls write Set_ShowAudioControls;
    property CaptioningID: WideString read Get_CaptioningID write Set_CaptioningID;
    property Mute: WordBool read Get_Mute write Set_Mute;
    property CanPreview: WordBool read Get_CanPreview;
    property PreviewMode: WordBool read Get_PreviewMode write Set_PreviewMode;
    property HasMultipleItems: WordBool read Get_HasMultipleItems;
    property Language: Integer read Get_Language write Set_Language;
    property AudioStream: Integer read Get_AudioStream write Set_AudioStream;
    property SAMIStyle: WideString read Get_SAMIStyle write Set_SAMIStyle;
    property SAMILang: WideString read Get_SAMILang write Set_SAMILang;
    property SAMIFileName: WideString read Get_SAMIFileName write Set_SAMIFileName;
    property StreamCount: Integer read Get_StreamCount;
    property ClientId: WideString read Get_ClientId;
    property ConnectionSpeed: Integer read Get_ConnectionSpeed;
    property AutoSize: WordBool read Get_AutoSize write Set_AutoSize;
    property EnableFullScreenControls: WordBool read Get_EnableFullScreenControls write Set_EnableFullScreenControls;
    property ActiveMovie: IDispatch read Get_ActiveMovie;
    property NSPlay: IDispatch read Get_NSPlay;
    property WindowlessVideo: WordBool read Get_WindowlessVideo write Set_WindowlessVideo;
  end;

// *********************************************************************//
// DispIntf:  IMediaPlayerDisp
// Flags:     (4416) Dual OleAutomation Dispatchable
// GUID:      {22D6F311-B0F6-11D0-94AB-0080C74C7E95}
// *********************************************************************//
  IMediaPlayerDisp = dispinterface
    ['{22D6F311-B0F6-11D0-94AB-0080C74C7E95}']
    property CurrentPosition: Double dispid 1027;
    property Duration: Double readonly dispid 1003;
    property ImageSourceWidth: Integer readonly dispid 1001;
    property ImageSourceHeight: Integer readonly dispid 1002;
    property MarkerCount: Integer readonly dispid 1010;
    property CanScan: WordBool readonly dispid 1011;
    property CanSeek: WordBool readonly dispid 1012;
    property CanSeekToMarkers: WordBool readonly dispid 1047;
    property CurrentMarker: Integer dispid 1029;
    property FileName: WideString dispid 1026;
    property SourceLink: WideString readonly dispid 1009;
    property CreationDate: TDateTime readonly dispid 1036;
    property ErrorCorrection: WideString readonly dispid 1038;
    property Bandwidth: Integer readonly dispid 1037;
    property SourceProtocol: Integer readonly dispid 1060;
    property ReceivedPackets: Integer readonly dispid 1039;
    property RecoveredPackets: Integer readonly dispid 1040;
    property LostPackets: Integer readonly dispid 1041;
    property ReceptionQuality: Integer readonly dispid 1042;
    property BufferingCount: Integer readonly dispid 1043;
    property IsBroadcast: WordBool readonly dispid 1058;
    property BufferingProgress: Integer readonly dispid 1080;
    property ChannelName: WideString readonly dispid 1050;
    property ChannelDescription: WideString readonly dispid 1051;
    property ChannelURL: WideString readonly dispid 1052;
    property ContactAddress: WideString readonly dispid 1053;
    property ContactPhone: WideString readonly dispid 1054;
    property ContactEmail: WideString readonly dispid 1055;
    property BufferingTime: Double dispid 1070;
    property AutoStart: WordBool dispid 1017;
    property AutoRewind: WordBool dispid 1018;
    property Rate: Double dispid 1028;
    property SendKeyboardEvents: WordBool dispid 1013;
    property SendMouseClickEvents: WordBool dispid 1014;
    property SendMouseMoveEvents: WordBool dispid 1015;
    property PlayCount: Integer dispid 1030;
    property ClickToPlay: WordBool dispid 1025;
    property AllowScan: WordBool dispid 1035;
    property EnableContextMenu: WordBool dispid 1021;
    property CursorType: Integer dispid 1044;
    property CodecCount: Integer readonly dispid 1057;
    property AllowChangeDisplaySize: WordBool dispid 1056;
    property IsDurationValid: WordBool readonly dispid 1059;
    property OpenState: Integer readonly dispid 1061;
    property SendOpenStateChangeEvents: WordBool dispid 1062;
    property SendWarningEvents: WordBool dispid 1063;
    property SendErrorEvents: WordBool dispid 1064;
    property PlayState: MPPlayStateConstants readonly dispid 1068;
    property SendPlayStateChangeEvents: WordBool dispid 1069;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -