?? amovie.hpp
字號:
#pragma option pop
__property Word ShowPositionControls = {read=_scw_Get_ShowPositionControls, write=Set_ShowPositionControls};
#pragma option push -w-inl
/* safecall wrapper */ inline Word _scw_Get_ShowSelectionControls() { Word r; HRESULT hr = Get_ShowSelectionControls(r); System::CheckSafecallResult(hr); return r; }
#pragma option pop
__property Word ShowSelectionControls = {read=_scw_Get_ShowSelectionControls, write=Set_ShowSelectionControls};
#pragma option push -w-inl
/* safecall wrapper */ inline Word _scw_Get_ShowTracker() { Word r; HRESULT hr = Get_ShowTracker(r); System::CheckSafecallResult(hr); return r; }
#pragma option pop
__property Word ShowTracker = {read=_scw_Get_ShowTracker, write=Set_ShowTracker};
#pragma option push -w-inl
/* safecall wrapper */ inline Word _scw_Get_EnablePositionControls() { Word r; HRESULT hr = Get_EnablePositionControls(r); System::CheckSafecallResult(hr); return r; }
#pragma option pop
__property Word EnablePositionControls = {read=_scw_Get_EnablePositionControls, write=Set_EnablePositionControls};
#pragma option push -w-inl
/* safecall wrapper */ inline Word _scw_Get_EnableSelectionControls() { Word r; HRESULT hr = Get_EnableSelectionControls(r); System::CheckSafecallResult(hr); return r; }
#pragma option pop
__property Word EnableSelectionControls = {read=_scw_Get_EnableSelectionControls, write=Set_EnableSelectionControls};
#pragma option push -w-inl
/* safecall wrapper */ inline Word _scw_Get_EnableTracker() { Word r; HRESULT hr = Get_EnableTracker(r); System::CheckSafecallResult(hr); return r; }
#pragma option pop
__property Word EnableTracker = {read=_scw_Get_EnableTracker, write=Set_EnableTracker};
#pragma option push -w-inl
/* safecall wrapper */ inline Word _scw_Get_AllowHideDisplay() { Word r; HRESULT hr = Get_AllowHideDisplay(r); System::CheckSafecallResult(hr); return r; }
#pragma option pop
__property Word AllowHideDisplay = {read=_scw_Get_AllowHideDisplay, write=Set_AllowHideDisplay};
#pragma option push -w-inl
/* safecall wrapper */ inline Word _scw_Get_AllowHideControls() { Word r; HRESULT hr = Get_AllowHideControls(r); System::CheckSafecallResult(hr); return r; }
#pragma option pop
__property Word AllowHideControls = {read=_scw_Get_AllowHideControls, write=Set_AllowHideControls};
#pragma option push -w-inl
/* safecall wrapper */ inline Activex::TOleEnum _scw_Get_DisplayMode() { Activex::TOleEnum r; HRESULT hr = Get_DisplayMode(r); System::CheckSafecallResult(hr); return r; }
#pragma option pop
__property Activex::TOleEnum DisplayMode = {read=_scw_Get_DisplayMode, write=Set_DisplayMode};
#pragma option push -w-inl
/* safecall wrapper */ inline Word _scw_Get_AllowChangeDisplayMode() { Word r; HRESULT hr = Get_AllowChangeDisplayMode(r); System::CheckSafecallResult(hr); return r; }
#pragma option pop
__property Word AllowChangeDisplayMode = {read=_scw_Get_AllowChangeDisplayMode, write=Set_AllowChangeDisplayMode};
#pragma option push -w-inl
/* safecall wrapper */ inline System::_di_IInterface _scw_Get_FilterGraph() { System::_di_IInterface r; HRESULT hr = Get_FilterGraph(r); System::CheckSafecallResult(hr); return r; }
#pragma option pop
__property System::_di_IInterface FilterGraph = {read=_scw_Get_FilterGraph, write=Set_FilterGraph};
#pragma option push -w-inl
/* safecall wrapper */ inline _di_IDispatch _scw_Get_FilterGraphDispatch() { _di_IDispatch r; HRESULT hr = Get_FilterGraphDispatch(r); System::CheckSafecallResult(hr); return r; }
#pragma option pop
__property _di_IDispatch FilterGraphDispatch = {read=_scw_Get_FilterGraphDispatch};
#pragma option push -w-inl
/* safecall wrapper */ inline unsigned _scw_Get_DisplayForeColor() { unsigned r; HRESULT hr = Get_DisplayForeColor(r); System::CheckSafecallResult(hr); return r; }
#pragma option pop
__property unsigned DisplayForeColor = {read=_scw_Get_DisplayForeColor, write=Set_DisplayForeColor};
#pragma option push -w-inl
/* safecall wrapper */ inline unsigned _scw_Get_DisplayBackColor() { unsigned r; HRESULT hr = Get_DisplayBackColor(r); System::CheckSafecallResult(hr); return r; }
#pragma option pop
__property unsigned DisplayBackColor = {read=_scw_Get_DisplayBackColor, write=Set_DisplayBackColor};
#pragma option push -w-inl
/* safecall wrapper */ inline Activex::TOleEnum _scw_Get_MovieWindowSize() { Activex::TOleEnum r; HRESULT hr = Get_MovieWindowSize(r); System::CheckSafecallResult(hr); return r; }
#pragma option pop
__property Activex::TOleEnum MovieWindowSize = {read=_scw_Get_MovieWindowSize, write=Set_MovieWindowSize};
#pragma option push -w-inl
/* safecall wrapper */ inline Word _scw_Get_FullScreenMode() { Word r; HRESULT hr = Get_FullScreenMode(r); System::CheckSafecallResult(hr); return r; }
#pragma option pop
__property Word FullScreenMode = {read=_scw_Get_FullScreenMode, write=Set_FullScreenMode};
#pragma option push -w-inl
/* safecall wrapper */ inline Word _scw_Get_AutoStart() { Word r; HRESULT hr = Get_AutoStart(r); System::CheckSafecallResult(hr); return r; }
#pragma option pop
__property Word AutoStart = {read=_scw_Get_AutoStart, write=Set_AutoStart};
#pragma option push -w-inl
/* safecall wrapper */ inline Word _scw_Get_AutoRewind() { Word r; HRESULT hr = Get_AutoRewind(r); System::CheckSafecallResult(hr); return r; }
#pragma option pop
__property Word AutoRewind = {read=_scw_Get_AutoRewind, write=Set_AutoRewind};
#pragma option push -w-inl
/* safecall wrapper */ inline int _scw_Get_hWnd() { int r; HRESULT hr = Get_hWnd(r); System::CheckSafecallResult(hr); return r; }
#pragma option pop
__property int hWnd = {read=_scw_Get_hWnd};
#pragma option push -w-inl
/* safecall wrapper */ inline Activex::TOleEnum _scw_Get_Appearance() { Activex::TOleEnum r; HRESULT hr = Get_Appearance(r); System::CheckSafecallResult(hr); return r; }
#pragma option pop
__property Activex::TOleEnum Appearance = {read=_scw_Get_Appearance, write=Set_Appearance};
#pragma option push -w-inl
/* safecall wrapper */ inline Activex::TOleEnum _scw_Get_BorderStyle() { Activex::TOleEnum r; HRESULT hr = Get_BorderStyle(r); System::CheckSafecallResult(hr); return r; }
#pragma option pop
__property Activex::TOleEnum BorderStyle = {read=_scw_Get_BorderStyle, write=Set_BorderStyle};
#pragma option push -w-inl
/* safecall wrapper */ inline Word _scw_Get_Enabled() { Word r; HRESULT hr = Get_Enabled(r); System::CheckSafecallResult(hr); return r; }
#pragma option pop
__property Word Enabled = {read=_scw_Get_Enabled, write=Set_Enabled};
#pragma option push -w-inl
/* safecall wrapper */ inline int _scw_Get_Info() { int r; HRESULT hr = Get_Info(r); System::CheckSafecallResult(hr); return r; }
#pragma option pop
__property int Info = {read=_scw_Get_Info};
};
__interface IMediaPlayer;
typedef System::DelphiInterface<IMediaPlayer> _di_IMediaPlayer;
__interface INTERFACE_UUID("{22D6F311-B0F6-11D0-94AB-0080C74C7E95}") IMediaPlayer : public IDispatch
{
public:
virtual HRESULT __safecall Get_CurrentPosition(double &Get_CurrentPosition_result) = 0 ;
virtual HRESULT __safecall Set_CurrentPosition(double pCurrentPosition) = 0 ;
virtual HRESULT __safecall Get_Duration(double &Get_Duration_result) = 0 ;
virtual HRESULT __safecall Get_ImageSourceWidth(int &Get_ImageSourceWidth_result) = 0 ;
virtual HRESULT __safecall Get_ImageSourceHeight(int &Get_ImageSourceHeight_result) = 0 ;
virtual HRESULT __safecall Get_MarkerCount(int &Get_MarkerCount_result) = 0 ;
virtual HRESULT __safecall Get_CanScan(Word &Get_CanScan_result) = 0 ;
virtual HRESULT __safecall Get_CanSeek(Word &Get_CanSeek_result) = 0 ;
virtual HRESULT __safecall Get_CanSeekToMarkers(Word &Get_CanSeekToMarkers_result) = 0 ;
virtual HRESULT __safecall Get_CurrentMarker(int &Get_CurrentMarker_result) = 0 ;
virtual HRESULT __safecall Set_CurrentMarker(int pCurrentMarker) = 0 ;
virtual HRESULT __safecall Get_FileName(WideString &Get_FileName_result) = 0 ;
virtual HRESULT __safecall Set_FileName(const WideString pbstrFileName) = 0 ;
virtual HRESULT __safecall Get_SourceLink(WideString &Get_SourceLink_result) = 0 ;
virtual HRESULT __safecall Get_CreationDate(System::TDateTime &Get_CreationDate_result) = 0 ;
virtual HRESULT __safecall Get_ErrorCorrection(WideString &Get_ErrorCorrection_result) = 0 ;
virtual HRESULT __safecall Get_Bandwidth(int &Get_Bandwidth_result) = 0 ;
virtual HRESULT __safecall Get_SourceProtocol(int &Get_SourceProtocol_result) = 0 ;
virtual HRESULT __safecall Get_ReceivedPackets(int &Get_ReceivedPackets_result) = 0 ;
virtual HRESULT __safecall Get_RecoveredPackets(int &Get_RecoveredPackets_result) = 0 ;
virtual HRESULT __safecall Get_LostPackets(int &Get_LostPackets_result) = 0 ;
virtual HRESULT __safecall Get_ReceptionQuality(int &Get_ReceptionQuality_result) = 0 ;
virtual HRESULT __safecall Get_BufferingCount(int &Get_BufferingCount_result) = 0 ;
virtual HRESULT __safecall Get_IsBroadcast(Word &Get_IsBroadcast_result) = 0 ;
virtual HRESULT __safecall Get_BufferingProgress(int &Get_BufferingProgress_result) = 0 ;
virtual HRESULT __safecall Get_ChannelName(WideString &Get_ChannelName_result) = 0 ;
virtual HRESULT __safecall Get_ChannelDescription(WideString &Get_ChannelDescription_result) = 0 ;
virtual HRESULT __safecall Get_ChannelURL(WideString &Get_ChannelURL_result) = 0 ;
virtual HRESULT __safecall Get_ContactAddress(WideString &Get_ContactAddress_result) = 0 ;
virtual HRESULT __safecall Get_ContactPhone(WideString &Get_ContactPhone_result) = 0 ;
virtual HRESULT __safecall Get_ContactEmail(WideString &Get_ContactEmail_result) = 0 ;
virtual HRESULT __safecall Get_BufferingTime(double &Get_BufferingTime_result) = 0 ;
virtual HRESULT __safecall Set_BufferingTime(double pBufferingTime) = 0 ;
virtual HRESULT __safecall Get_AutoStart(Word &Get_AutoStart_result) = 0 ;
virtual HRESULT __safecall Set_AutoStart(Word pAutoStart) = 0 ;
virtual HRESULT __safecall Get_AutoRewind(Word &Get_AutoRewind_result) = 0 ;
virtual HRESULT __safecall Set_AutoRewind(Word pAutoRewind) = 0 ;
virtual HRESULT __safecall Get_Rate(double &Get_Rate_result) = 0 ;
virtual HRESULT __safecall Set_Rate(double pRate) = 0 ;
virtual HRESULT __safecall Get_SendKeyboardEvents(Word &Get_SendKeyboardEvents_result) = 0 ;
virtual HRESULT __safecall Set_SendKeyboardEvents(Word pSendKeyboardEvents) = 0 ;
virtual HRESULT __safecall Get_SendMouseClickEvents(Word &Get_SendMouseClickEvents_result) = 0 ;
virtual HRESULT __safecall Set_SendMouseClickEvents(Word pSendMouseClickEvents) = 0 ;
virtual HRESULT __safecall Get_SendMouseMoveEvents(Word &Get_SendMouseMoveEvents_result) = 0 ;
virtual HRESULT __safecall Set_SendMouseMoveEvents(Word pSendMouseMoveEvents) = 0 ;
virtual HRESULT __safecall Get_PlayCount(int &Get_PlayCount_result) = 0 ;
virtual HRESULT __safecall Set_PlayCount(int pPlayCount) = 0 ;
virtual HRESULT __safecall Get_ClickToPlay(Word &Get_ClickToPlay_result) = 0 ;
virtual HRESULT __safecall Set_ClickToPlay(Word pClickToPlay) = 0 ;
virtual HRESULT __safecall Get_AllowScan(Word &Get_AllowScan_result) = 0 ;
virtual HRESULT __safecall Set_AllowScan(Word pAllowScan) = 0 ;
virtual HRESULT __safecall Get_EnableContextMenu(Word &Get_EnableContextMenu_result) = 0 ;
virtual HRESULT __safecall Set_EnableContextMenu(Word pEnableContextMenu) = 0 ;
virtual HRESULT __safecall Get_CursorType(int &Get_CursorType_result) = 0 ;
virtual HRESULT __safecall Set_CursorType(int pCursorType) = 0 ;
virtual HRESULT __safecall Get_CodecCount(int &Get_CodecCount_result) = 0 ;
virtual HRESULT __safecall Get_AllowChangeDisplaySize(Word &Get_AllowChangeDisplaySize_result) = 0 ;
virtual HRESULT __safecall Set_AllowChangeDisplaySize(Word pAllowChangeDisplaySize) = 0 ;
virtual HRESULT __safecall Get_IsDurationValid(Word &Get_IsDurationValid_result) = 0 ;
virtual HRESULT __safecall Get_OpenState(int &Get_OpenState_result) = 0 ;
virtual HRESULT __safecall Get_SendOpenStateChangeEvents(Word &Get_SendOpenStateChangeEvents_result) = 0 ;
virtual HRESULT __safecall Set_SendOpenStateChangeEvents(Word pSendOpenStateChangeEvents) = 0 ;
virtual HRESULT __safecall Get_SendWarningEvents(Word &Get_SendWarningEvents_result) = 0 ;
virtual HRESULT __safecall Set_SendWarningEvents(Word pSendWarningEvents) = 0 ;
virtual HRESULT __safecall Get_SendErrorEvents(Word &Get_SendErrorEvents_result) = 0 ;
virtual HRESULT __safecall Set_SendErrorEvents(Word pSendErrorEvents) = 0 ;
virtual HRESULT __safecall Get_PlayState(Activex::TOleEnum &Get_PlayState_result) = 0 ;
virtual HRESULT __safecall Get_SendPlayStateChangeEvents(Word &Get_SendPlayStateChangeEvents_result) = 0 ;
virtual HRESULT __safecall Set_SendPlayStateChangeEvents(Word pSendPlayStateChangeEvents) = 0 ;
virtual HRESULT __safecall Get_DisplaySize(Activex::TOleEnum &Get_DisplaySize_result) = 0 ;
virtual HRESULT __safecall Set_DisplaySize(Activex::TOleEnum pDisplaySize) = 0 ;
virtual HRESULT __safecall Get_InvokeURLs(Word &Get_InvokeURLs_result) = 0 ;
virtual HRESULT __safecall Set_InvokeURLs(Word pInvokeURLs) = 0 ;
virtual HRESULT __safecall Get_BaseURL(WideString &Get_BaseURL_result) = 0 ;
virtual HRESULT __safecall Set_BaseURL(const WideString pbstrBaseURL) = 0 ;
virtual HRESULT __safecall Get_DefaultFrame(WideString &Get_DefaultFrame_result) = 0 ;
virtual HRESULT __safecall Set_DefaultFrame(const WideString pbstrDefaultFrame) = 0 ;
virtual HRESULT __safecall Get_HasError(Word &Get_HasError_result) = 0 ;
virtual HRESULT __safecall Get_ErrorDescription(WideString &Get_ErrorDescription_result) = 0 ;
virtual HRESULT __safecall Get_ErrorCode(int &Get_ErrorCode_result) = 0 ;
virtual HRESULT __safecall Get_AnimationAtStart(Word &Get_AnimationAtStart_result) = 0 ;
virtual HRESULT __safecall Set_AnimationAtStart(Word pAnimationAtStart) = 0 ;
virtual HRESULT __safecall Get_TransparentAtStart(Word &Get_TransparentAtStart_result) = 0 ;
virtual HRESULT __safecall Set_TransparentAtStart(Word pTransparentAtStart) = 0 ;
virtual HRESULT __safecall Get_Volume(int &Get_Volume_result) = 0 ;
virtual HRESULT __safecall Set_Volume(int pVolume) = 0 ;
virtual HRESULT __safecall Get_Balance(int &Get_Balance_result) = 0 ;
virtual HRESULT __safecall Set_Balance(int pBalance) = 0 ;
virtual HRESULT __safecall Get_ReadyState(Activex::TOleEnum &Get_ReadyState_result) = 0 ;
virtual HRESULT __safecall Get_SelectionStart(double &Get_SelectionStart_result) = 0 ;
virtual HRESULT __safecall Set_SelectionStart(double pValue) = 0 ;
virtual HRESULT __safecall Get_SelectionEnd(double &Get_SelectionEnd_result) = 0 ;
virtual HRESULT __safecall Set_SelectionEnd(double pValue) = 0 ;
virtual HRESULT __safecall Get_ShowDisplay(Word &Get_ShowDisplay_result) = 0 ;
virtual HRESULT __safecall Set_ShowDisplay(Word Show) = 0 ;
virtual HRESULT __safecall Get_ShowControls(Word &Get_ShowControls_result) = 0 ;
virtual HRESULT __safecall Set_ShowControls(Word Show) = 0 ;
virtual HRESULT __safecall Get_ShowPositionControls(Word &Get_ShowPositionControls_result) = 0 ;
virtual HRESULT __safecall Set_ShowPositionControls(Word Show) = 0 ;
virtual HRESULT __safecall Get_ShowTracker(Word &Get_ShowTracker_result) = 0 ;
virtual HRESULT __safecall Set_ShowTracker(Word Show) = 0 ;
virtual HRESULT __safecall Get_EnablePositionControls(Word &Get_EnablePositionControls_result) = 0 ;
virtual HRESULT __safecall Set_EnablePositionControls(Word Enable) = 0 ;
virtual HRESULT __safecall Get_EnableTracker(Word &Get_EnableTracker_result) = 0 ;
virtual HRESULT __safecall Set_EnableTracker(Word Enable) = 0 ;
virtual HRESULT __safecall Get_Enabled(Word &Get_Enabled_result) = 0 ;
virtual HRESULT __safecall Set_Enabled(Word pEnabled) = 0 ;
virtual HRESULT __safecall Get_DisplayForeColor(unsigned &Get_DisplayForeColor_result) = 0 ;
virtual HRESULT __safecall Set_DisplayForeColor(unsigned ForeColor) = 0 ;
virtual HRESULT __safecall Get_DisplayBackColor(unsigned &Get_DisplayBackColor_result) = 0 ;
virtual HRESULT __safecall Set_DisplayBackColor(unsigned BackColor) = 0 ;
virtual HRESULT __safecall Get_DisplayMode(Activex::TOleEnum &Get_DisplayMode_result) = 0 ;
virtual HRESULT __safecall Set_DisplayMode(Activex::TOleEnum pValue) = 0 ;
virtual HRESULT __safecall Get_VideoBorder3D(Word &Get_VideoBorder3D_result) = 0 ;
virtual HRESULT __safecall Set_VideoBorder3D(Word pVideoBorderWidth) = 0 ;
virtual HRESULT __safecall Get_VideoBorderWidth(int &Get_VideoBorderWidth_result) = 0 ;
virtual HRESULT __safecall Set_VideoBorderWidth(int pVideoBorderWidth) = 0 ;
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -