📄 playerocx.idl
字号:
[propput, id(65), helpstring("property SendWarningEvents")] HRESULT SendWarningEvents([in] VARIANT_BOOL newVal);
[propget, id(66), helpstring("property SourceLink")] HRESULT SourceLink([out, retval] BSTR *pVal);
[id(67), helpstring("method AboutBox")] HRESULT AboutBox();
[id(68), helpstring("method Cancel")] HRESULT Cancel();
[id(69), helpstring("method GetCodecDescription")] HRESULT GetCodecDescription([in] long nCodec,
[out, retval] BSTR *pDescription);
[id(70), helpstring("method GetCodecInstalled")] HRESULT GetCodecInstalled([in] BSTR *pstrCodec,
[out, retval] VARIANT_BOOL *pIsInstalled);
[id(71), helpstring("method GetCurrentEntry")] HRESULT GetCurrentEntry([out, retval] long *pVal);
[id(72), helpstring("method GetMarkerName")] HRESULT GetMarkerName([in] long nMarker,
[out, retval] BSTR *pMarkerName);
[id(73), helpstring("method GetMarkerTime")] HRESULT GetMarkerTime([in] long nMarker,
[out, retval] double *pMarkerTime);
[id(74), helpstring("method GetMediaInfoString")] HRESULT GetMediaInfoString([in] long MPMediaInfoType,
[out, retval] BSTR *pstrMediaInfo);
[id(75), helpstring("method Next")] HRESULT Next();
[id(76), helpstring("method Open")] HRESULT Open(BSTR pstrClip);
[id(77), helpstring("method Pause")] HRESULT Pause();
[id(78), helpstring("method Play")] HRESULT Play();
[id(79), helpstring("method Previous")] HRESULT Previous();
[id(80), helpstring("method Stop")] HRESULT Stop();
[propget, id(81), helpstring("property Rate")] HRESULT Rate([out, retval] double *pVal);
[propput, id(81), helpstring("property Rate")] HRESULT Rate([in] double newVal);
[propget, id(82), helpstring("property DisplaySize")] HRESULT DisplaySize([out, retval] long *pVal);
[propput, id(82), helpstring("property DisplaySize")] HRESULT DisplaySize([in] long newVal);
[propget, id(83), helpstring("property SourceProtocol")] HRESULT SourceProtocol([out, retval] long *pVal);
[propget, id(84), helpstring("property ErrorCorrection")] HRESULT ErrorCorrection([out, retval] BSTR *pVal);
[id(85), helpstring("method FinalConstruct")] HRESULT FinalConstruct();
[propget, id(86), helpstring("property AllowChangeDisplaySize")] HRESULT AllowChangeDisplaySize([out, retval] VARIANT_BOOL *pVal);
[propput, id(86), helpstring("property AllowChangeDisplaySize")] HRESULT AllowChangeDisplaySize([in] VARIANT_BOOL newVal);
[propget, id(87), helpstring("property AllowScan")] HRESULT AllowScan([out, retval] VARIANT_BOOL *pVal);
[propput, id(87), helpstring("property AllowScan")] HRESULT AllowScan([in] VARIANT_BOOL newVal);
[propget, id(88), helpstring("property AnimationAtStart")] HRESULT AnimationAtStart([out, retval] VARIANT_BOOL *pVal);
[propput, id(88), helpstring("property AnimationAtStart")] HRESULT AnimationAtStart([in] VARIANT_BOOL newVal);
[propget, id(89), helpstring("property AudioStream")] HRESULT AudioStream([out, retval] long *pVal);
[propput, id(89), helpstring("property AudioStream")] HRESULT AudioStream([in] long newVal);
[propget, id(90), helpstring("property AutoRewind")] HRESULT AutoRewind([out, retval] VARIANT_BOOL *pVal);
[propput, id(90), helpstring("property AutoRewind")] HRESULT AutoRewind([in] VARIANT_BOOL newVal);
[propget, id(91), helpstring("property Balance")] HRESULT Balance([out, retval] long *pVal);
[propput, id(91), helpstring("property Balance")] HRESULT Balance([in] long newVal);
[propget, id(92), helpstring("property CanPreview")] HRESULT CanPreview([out, retval] VARIANT_BOOL *pVal);
[propget, id(93), helpstring("property CanScan")] HRESULT CanScan([out, retval] VARIANT_BOOL *pVal);
[propget, id(94), helpstring("property CaptioningID")] HRESULT CaptioningID([out, retval] BSTR *pVal);
[propget, id(95), helpstring("property ClickToPlay")] HRESULT ClickToPlay([out, retval] VARIANT_BOOL *pVal);
[propput, id(95), helpstring("property ClickToPlay")] HRESULT ClickToPlay([in] VARIANT_BOOL newVal);
[propget, id(96), helpstring("property CodecCount")] HRESULT CodecCount([out, retval] long *pVal);
[propget, id(97), helpstring("property CreationDate")] HRESULT CreationDate([out, retval] DATE *pVal);
[propget, id(98), helpstring("property CursorType")] HRESULT CursorType([out, retval] long *pVal);
[propput, id(98), helpstring("property CursorType")] HRESULT CursorType([in] long newVal);
[propget, id(99), helpstring("property DisplayBackColor")] HRESULT DisplayBackColor([out, retval] VB_OLE_COLOR *pVal);
[propput, id(99), helpstring("property DisplayBackColor")] HRESULT DisplayBackColor([in] VB_OLE_COLOR newVal);
[propget, id(100), helpstring("property DisplayForeColor")] HRESULT DisplayForeColor([out, retval] VB_OLE_COLOR *pVal);
[propput, id(100), helpstring("property DisplayForeColor")] HRESULT DisplayForeColor([in] VB_OLE_COLOR newVal);
[propget, id(101), helpstring("property DisplayMode")] HRESULT DisplayMode([out, retval] long *pVal);
[propput, id(101), helpstring("property DisplayMode")] HRESULT DisplayMode([in] long newVal);
[propget, id(102), helpstring("property EnableContextMenu")] HRESULT EnableContextMenu([out, retval] VARIANT_BOOL *pVal);
[propput, id(102), helpstring("property EnableContextMenu")] HRESULT EnableContextMenu([in] VARIANT_BOOL newVal);
[propget, id(103), helpstring("property EnableFullScreenControls")] HRESULT EnableFullScreenControls([out, retval] VARIANT_BOOL *pVal);
[propput, id(103), helpstring("property EnableFullScreenControls")] HRESULT EnableFullScreenControls([in] VARIANT_BOOL newVal);
[propget, id(104), helpstring("property EnablePositionControls")] HRESULT EnablePositionControls([out, retval] VARIANT_BOOL *pVal);
[propput, id(104), helpstring("property EnablePositionControls")] HRESULT EnablePositionControls([in] VARIANT_BOOL newVal);
[propget, id(105), helpstring("property EnableTracker")] HRESULT EnableTracker([out, retval] VARIANT_BOOL *pVal);
[propput, id(105), helpstring("property EnableTracker")] HRESULT EnableTracker([in] VARIANT_BOOL newVal);
[propget, id(106), helpstring("property Language")] HRESULT Language([out, retval] long *pVal);
[propget, id(107), helpstring("property StreamCount")] HRESULT StreamCount([out, retval] long *pVal);
[propget, id(108), helpstring("property TransparentAtStart")] HRESULT TransparentAtStart([out, retval] VARIANT_BOOL *pVal);
[propput, id(108), helpstring("property TransparentAtStart")] HRESULT TransparentAtStart([in] VARIANT_BOOL newVal);
[propget, id(109), helpstring("property VideoBorder3D")] HRESULT VideoBorder3D([out, retval] VARIANT_BOOL *pVal);
[propput, id(109), helpstring("property VideoBorder3D")] HRESULT VideoBorder3D([in] VARIANT_BOOL newVal);
[propget, id(110), helpstring("property VideoBorderColor")] HRESULT VideoBorderColor([out, retval] long *pVal);
[propput, id(110), helpstring("property VideoBorderColor")] HRESULT VideoBorderColor([in] long newVal);
[propget, id(111), helpstring("property VideoBorderWidth")] HRESULT VideoBorderWidth([out, retval] long *pVal);
[propput, id(111), helpstring("property VideoBorderWidth")] HRESULT VideoBorderWidth([in] long newVal);
[id(112), helpstring("method FastForward")] HRESULT FastForward();
[id(113), helpstring("method FastReverse")] HRESULT FastReverse();
[id(114), helpstring("method GetCodecURL")] HRESULT GetCodecURL([out, retval] BSTR *pstrCodecURL);
[id(115), helpstring("method GetMediaParameter")] HRESULT GetMediaParameter([in] long nParam, BSTR szParameterName,
[out, retval] BSTR *pstrParameterValue);
[id(116), helpstring("method GetMediaParameterName")] HRESULT GetMediaParameterName([in] long nParam, long nIndex,
[out, retval] BSTR *pstrParameterName);
[id(117), helpstring("method GetMoreInfoURL")] HRESULT GetMoreInfoURL([out, retval] BSTR *pstrMoreInfoURL);
[id(118), helpstring("method GetStreamGroup")] HRESULT GetStreamGroup([out, retval] BSTR *pstrStreamGroup);
[id(119), helpstring("method GetStreamName")] HRESULT GetStreamName([out, retval] BSTR *pstrStreamName);
[id(120), helpstring("method GetStreamSelected")] HRESULT GetStreamSelected([in] long nStream,
[out, retval] VARIANT_BOOL *fIsSelected);
[id(121), helpstring("method IsSoundCardEnabled")] HRESULT IsSoundCardEnabled([out, retval] VARIANT_BOOL *fIsEnabled);
[id(122), helpstring("method SetCurrentEntry")] HRESULT SetCurrentEntry(long nValue);
[id(123), helpstring("method ShowDialog")] HRESULT ShowDialog(long nValue);
[id(124), helpstring("method StreamSelect")] HRESULT StreamSelect(long nSelect);
[id(125), helpstring("method OnWindowMessage")] HRESULT OnWindowMessage(UINT msg, WPARAM wParam, LPARAM lParam, LRESULT *plResult);
};
[
uuid(0E40C3E9-930F-41A0-A1E2-99AF3E680508),
version(1.0),
helpstring("PlayerOCX 1.0 Type Library")
]
library PLAYEROCXLib
{
importlib("stdole32.tlb");
importlib("stdole2.tlb");
[
uuid(E17A7C5E-CB17-4379-A487-C8ABC76A6541),
helpstring("_IWMPEvents Interface")
]
dispinterface _IWMPEvents
{
properties:
methods:
[id(1), helpstring("event Buffering")] HRESULT Buffering( [in] VARIANT_BOOL Start);
[id(2), helpstring("event Click")] HRESULT Click( [in] long Button, long ShiftState, long x, long y);
[id(3), helpstring("event DblClick")] HRESULT DblClick( [in] long Button, long ShiftState, long x, long y);
[id(4), helpstring("event Disconnect")] HRESULT Disconnect( [in] long Result);
[id(5), helpstring("event DisplayModeChange")] HRESULT DisplayModeChange( );
[id(6), helpstring("event EndOfStream")] HRESULT EndOfStream( [in] long Result);
[id(7), helpstring("event Error")] HRESULT Error( );
[id(8), helpstring("event KeyDown")] HRESULT KeyDown( [in] long KeyCode, long ShiftState);
[id(9), helpstring("event KeyPress")] HRESULT KeyPress( [in] long KeyAscii);
[id(10), helpstring("event KeyUp")] HRESULT KeyUp( [in] long KeyCode, long ShiftState);
[id(11), helpstring("event MarkerHit")] HRESULT MarkerHit( [in] long MarkerNum);
[id(12), helpstring("event MouseDown")] HRESULT MouseDown( [in] long Button, long ShiftState, long x, long y);
[id(13), helpstring("event MouseMove")] HRESULT MouseMove( [in] long Button, long ShiftState, long x, long y);
[id(14), helpstring("event MouseUp")] HRESULT MouseUp( [in] long Button, long ShiftState, long x, long y);
[id(15), helpstring("event NewStream")] HRESULT NewStream( );
[id(16), helpstring("event OpenStateChange")] HRESULT OpenStateChange( [in] long OldState, long NewState);
[id(17), helpstring("event PlayStateChange")] HRESULT PlayStateChange( [in] long OldState, long NewState);
[id(18), helpstring("event PositionChange")] HRESULT PositionChange( [in] double OldPosition, double NewPosition);
[id(19), helpstring("event ReadyStateChange")] HRESULT ReadyStateChange( [in] long ReadyState);
[id(20), helpstring("event ScriptCommand")] HRESULT ScriptCommand( [in] BSTR scType, BSTR Param);
[id(21), helpstring("event Warning")] HRESULT Warning( [in] long WarningType, long Param, BSTR Description);
};
[
uuid(22D6F312-B0F6-11D0-94AB-0080C74C7E95),
helpstring("WMP Class")
]
coclass WMP
{
[default] interface IWMP;
[default, source] dispinterface _IWMPEvents;
};
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -