WindowsMediaPlayer 接口详解

参考:

http://www.verysource.com/code/3924324_2/wmplib_tlb.pas.html




  1.     property toElement: IDispatch readonly dispid 2205;
  2.     property keyCode: Integer dispid 2206;
  3.     property button: Integer readonly dispid 2207;
  4.     property x: Integer readonly dispid 2208;
  5.     property y: Integer readonly dispid 2209;
  6.     property clientX: Integer readonly dispid 2210;
  7.     property clientY: Integer readonly dispid 2211;
  8.     property offsetX: Integer readonly dispid 2212;
  9.     property offsetY: Integer readonly dispid 2213;
  10.     property screenX: Integer readonly dispid 2214;
  11.     property screenY: Integer readonly dispid 2215;
  12.     property screenWidth: Integer readonly dispid 2216;
  13.     property screenHeight: Integer readonly dispid 2217;
  14.   end;
  15. // *********************************************************************//
  16. // Interface: IWMPTheme
  17. // Flags:     (4416) Dual OleAutomation Dispatchable
  18. // GUID:      {6FCAE13D-E492-4584-9C21-D2C052A2A33A}
  19. // *********************************************************************//
  20.   IWMPTheme = interface(IDispatch)
  21.     ['{6FCAE13D-E492-4584-9C21-D2C052A2A33A}']
  22.     function Get_title: WideString; safecall;
  23.     function Get_version: Single; safecall;
  24.     function Get_authorVersion: WideString; safecall;
  25.     function Get_author: WideString; safecall;
  26.     function Get_copyright: WideString; safecall;
  27.     function Get_currentViewID: WideString; safecall;
  28.     procedure Set_currentViewID(const pVal: WideString); safecall;
  29.     procedure showErrorDialog; safecall;
  30.     procedure logString(const stringVal: WideString); safecall;
  31.     procedure openView(const viewID: WideString); safecall;
  32.     procedure openViewRelative(const viewID: WideString; x: Integer; y: Integer); safecall;
  33.     procedure closeView(const viewID: WideString); safecall;
  34.     function openDialog(const dialogType: WideString; const parameters: WideString): WideString; safecall;
  35.     function loadString(const bstrString: WideString): WideString; safecall;
  36.     function loadPreference(const bstrName: WideString): WideString; safecall;
  37.     procedure savePreference(const bstrName: WideString; const bstrValue: WideString); safecall;
  38.     procedure playSound(const bstrFilename: WideString); safecall;
  39.     property title: WideString read Get_title;
  40.     property version: Single read Get_version;
  41.     property authorVersion: WideString read Get_authorVersion;
  42.     property author: WideString read Get_author;
  43.     property copyright: WideString read Get_copyright;
  44.     property currentViewID: WideString read Get_currentViewID write Set_currentViewID;
  45.   end;
  46. // *********************************************************************//
  47. // DispIntf:  IWMPThemeDisp
  48. // Flags:     (4416) Dual OleAutomation Dispatchable
  49. // GUID:      {6FCAE13D-E492-4584-9C21-D2C052A2A33A}
  50. // *********************************************************************//
  51.   IWMPThemeDisp = dispinterface
  52.     ['{6FCAE13D-E492-4584-9C21-D2C052A2A33A}']
  53.     property title: WideString readonly dispid 2500;
  54.     property version: Single readonly dispid 2501;
  55.     property authorVersion: WideString readonly dispid 2502;
  56.     property author: WideString readonly dispid 2503;
  57.     property copyright: WideString readonly dispid 2504;
  58.     property currentViewID: WideString dispid 2505;
  59.     procedure showErrorDialog; dispid 2506;
  60.     procedure logString(const stringVal: WideString); dispid 2507;
  61.     procedure openView(const viewID: WideString); dispid 2508;
  62.     procedure openViewRelative(const viewID: WideString; x: Integer; y: Integer); dispid 2515;
  63.     procedure closeView(const viewID: WideString); dispid 2509;
  64.     function openDialog(const dialogType: WideString; const parameters: WideString): WideString; dispid 2510;
  65.     function loadString(const bstrString: WideString): WideString; dispid 2511;
  66.     function loadPreference(const bstrName: WideString): WideString; dispid 2512;
  67.     procedure savePreference(const bstrName: WideString; const bstrValue: WideString); dispid 2513;
  68.     procedure playSound(const bstrFilename: WideString); dispid 2514;
  69.   end;
  70. // *********************************************************************//
  71. // Interface: IWMPLayoutSettingsDispatch
  72. // Flags:     (4416) Dual OleAutomation Dispatchable
  73. // GUID:      {B2C2D18E-97AF-4B6A-A56B-2FFFF470FB81}
  74. // *********************************************************************//
  75.   IWMPLayoutSettingsDispatch = interface(IDispatch)
  76.     ['{B2C2D18E-97AF-4B6A-A56B-2FFFF470FB81}']



  1.     property toElement: IDispatch readonly dispid 2205;
  2.     property keyCode: Integer dispid 2206;
  3.     property button: Integer readonly dispid 2207;
  4.     property x: Integer readonly dispid 2208;
  5.     property y: Integer readonly dispid 2209;
  6.     property clientX: Integer readonly dispid 2210;
  7.     property clientY: Integer readonly dispid 2211;
  8.     property offsetX: Integer readonly dispid 2212;
  9.     property offsetY: Integer readonly dispid 2213;
  10.     property screenX: Integer readonly dispid 2214;
  11.     property screenY: Integer readonly dispid 2215;
  12.     property screenWidth: Integer readonly dispid 2216;
  13.     property screenHeight: Integer readonly dispid 2217;
  14.   end;
  15. // *********************************************************************//
  16. // Interface: IWMPTheme
  17. // Flags:     (4416) Dual OleAutomation Dispatchable
  18. // GUID:      {6FCAE13D-E492-4584-9C21-D2C052A2A33A}
  19. // *********************************************************************//
  20.   IWMPTheme = interface(IDispatch)
  21.     ['{6FCAE13D-E492-4584-9C21-D2C052A2A33A}']
  22.     function Get_title: WideString; safecall;
  23.     function Get_version: Single; safecall;
  24.     function Get_authorVersion: WideString; safecall;
  25.     function Get_author: WideString; safecall;
  26.     function Get_copyright: WideString; safecall;
  27.     function Get_currentViewID: WideString; safecall;
  28.     procedure Set_currentViewID(const pVal: WideString); safecall;
  29.     procedure showErrorDialog; safecall;
  30.     procedure logString(const stringVal: WideString); safecall;
  31.     procedure openView(const viewID: WideString); safecall;
  32.     procedure openViewRelative(const viewID: WideString; x: Integer; y: Integer); safecall;
  33.     procedure closeView(const viewID: WideString); safecall;
  34.     function openDialog(const dialogType: WideString; const parameters: WideString): WideString; safecall;
  35.     function loadString(const bstrString: WideString): WideString; safecall;
  36.     function loadPreference(const bstrName: WideString): WideString; safecall;
  37.     procedure savePreference(const bstrName: WideString; const bstrValue: WideString); safecall;
  38.     procedure playSound(const bstrFilename: WideString); safecall;
  39.     property title: WideString read Get_title;
  40.     property version: Single read Get_version;
  41.     property authorVersion: WideString read Get_authorVersion;
  42.     property author: WideString read Get_author;
  43.     property copyright: WideString read Get_copyright;
  44.     property currentViewID: WideString read Get_currentViewID write Set_currentViewID;
  45.   end;
  46. // *********************************************************************//
  47. // DispIntf:  IWMPThemeDisp
  48. // Flags:     (4416) Dual OleAutomation Dispatchable
  49. // GUID:      {6FCAE13D-E492-4584-9C21-D2C052A2A33A}
  50. // *********************************************************************//
  51.   IWMPThemeDisp = dispinterface
  52.     ['{6FCAE13D-E492-4584-9C21-D2C052A2A33A}']
  53.     property title: WideString readonly dispid 2500;
  54.     property version: Single readonly dispid 2501;
  55.     property authorVersion: WideString readonly dispid 2502;
  56.     property author: WideString readonly dispid 2503;
  57.     property copyright: WideString readonly dispid 2504;
  58.     property currentViewID: WideString dispid 2505;
  59.     procedure showErrorDialog; dispid 2506;
  60.     procedure logString(const stringVal: WideString); dispid 2507;
  61.     procedure openView(const viewID: WideString); dispid 2508;
  62.     procedure openViewRelative(const viewID: WideString; x: Integer; y: Integer); dispid 2515;
  63.     procedure closeView(const viewID: WideString); dispid 2509;
  64.     function openDialog(const dialogType: WideString; const parameters: WideString): WideString; dispid 2510;
  65.     function loadString(const bstrString: WideString): WideString; dispid 2511;
  66.     function loadPreference(const bstrName: WideString): WideString; dispid 2512;
  67.     procedure savePreference(const bstrName: WideString; const bstrValue: WideString); dispid 2513;
  68.     procedure playSound(const bstrFilename: WideString); dispid 2514;
  69.   end;
  70. // *********************************************************************//
  71. // Interface: IWMPLayoutSettingsDispatch
  72. // Flags:     (4416) Dual OleAutomation Dispatchable
  73. // GUID:      {B2C2D18E-97AF-4B6A-A56B-2FFFF470FB81}
  74. // *********************************************************************//
  75.   IWMPLayoutSettingsDispatch = interface(IDispatch)
  76.     ['{B2C2D18E-97AF-4B6A-A56B-2FFFF470FB81}']
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值