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

📄 playerocx.idl

📁 用Pocket PC学习英语听力的小工具
💻 IDL
📖 第 1 页 / 共 2 页
字号:
//+-------------------------------------------------------------------------
//
//  Microsoft Windows Media Player Control for Pocket PC
//  Copyright (C) 2001-2002 Microsoft Corporation.  All Rights Reserved.
//
//  File: PlayerOCX.idl
//
//  Contents: IDL source for PlayerOCX.dll
//
//
//--------------------------------------------------------------------------

cpp_quote("//+-------------------------------------------------------------------------")
cpp_quote("//")
cpp_quote("//  Microsoft Windows Media Player Control for Pocket PC")
cpp_quote("//  Copyright (C) 2001-2002 Microsoft Corporation.  All Rights Reserved.")
cpp_quote("//")
cpp_quote("//--------------------------------------------------------------------------")

// This file will be processed by the MIDL tool to
// produce the type library (PlayerOCX.tlb) and marshalling code.

import "oaidl.idl";
import "ocidl.idl";
#include "olectl.h"
	
typedef [uuid(66504301-BE0F-101A-8BBB-00AA00300CAB), public] DWORD VB_OLE_COLOR;


	[
		object,
		uuid(136B66EC-F30D-46A8-88DD-F2D055163E49),
		dual,
		helpstring("IWMP Interface"),
		pointer_default(unique)
	]
	interface IWMP : IDispatch
	{
		[propput, id(DISPID_AUTOSIZE)]
		HRESULT AutoSize([in]VARIANT_BOOL vbool);
		[propget, id(DISPID_AUTOSIZE)]
		HRESULT AutoSize([out,retval]VARIANT_BOOL* pbool);
		[propput, id(DISPID_BORDERSTYLE)]
		HRESULT BorderStyle([in]long style);
		[propget, id(DISPID_BORDERSTYLE)]
		HRESULT BorderStyle([out, retval]long* pstyle);
		[propput, id(DISPID_ENABLED)]
		HRESULT Enabled([in]VARIANT_BOOL vbool);
		[propget, id(DISPID_ENABLED)]
		HRESULT Enabled([out,retval]VARIANT_BOOL* pbool);
		[propget, id(1), helpstring("property FileName")] HRESULT FileName([out, retval] BSTR *pVal);
		[propput, id(1), helpstring("property FileName")] HRESULT FileName([in] BSTR newVal);
		[propget, id(2), helpstring("property Volume")] HRESULT Volume([out, retval] long *pVal);
		[propput, id(2), helpstring("property Volume")] HRESULT Volume([in] long newVal);
		[propget, id(3), helpstring("property Mute")] HRESULT Mute([out, retval] VARIANT_BOOL *pVal);
		[propput, id(3), helpstring("property Mute")] HRESULT Mute([in] VARIANT_BOOL newVal);
		[propget, id(4), helpstring("property AutoStart")] HRESULT AutoStart([out, retval] VARIANT_BOOL *pVal);
		[propput, id(4), helpstring("property AutoStart")] HRESULT AutoStart([in] VARIANT_BOOL newVal);
		[propget, id(5), helpstring("property PlayCount")] HRESULT PlayCount([out, retval] long *pVal);
		[propput, id(5), helpstring("property PlayCount")] HRESULT PlayCount([in] long newVal);
		[propget, id(6), helpstring("property ShowStatusBar")] HRESULT ShowStatusBar([out, retval] VARIANT_BOOL *pVal);
		[propput, id(6), helpstring("property ShowStatusBar")] HRESULT ShowStatusBar([in] VARIANT_BOOL newVal);
		[propget, id(7), helpstring("property ShowAudioControls")] HRESULT ShowAudioControls([out, retval] VARIANT_BOOL *pVal);
		[propput, id(7), helpstring("property ShowAudioControls")] HRESULT ShowAudioControls([in] VARIANT_BOOL newVal);
		[propget, id(8), helpstring("property ShowCaptioning")] HRESULT ShowCaptioning([out, retval] VARIANT_BOOL *pVal);
		[propput, id(8), helpstring("property ShowCaptioning")] HRESULT ShowCaptioning([in] VARIANT_BOOL newVal);
		[propget, id(9), helpstring("property ShowControls")] HRESULT ShowControls([out, retval] VARIANT_BOOL *pVal);
		[propput, id(9), helpstring("property ShowControls")] HRESULT ShowControls([in] VARIANT_BOOL newVal);
		[propget, id(10), helpstring("property ShowDisplay")] HRESULT ShowDisplay([out, retval] VARIANT_BOOL *pVal);
		[propput, id(10), helpstring("property ShowDisplay")] HRESULT ShowDisplay([in] VARIANT_BOOL newVal);
		[propget, id(11), helpstring("property ShowGotoBar")] HRESULT ShowGotoBar([out, retval] VARIANT_BOOL *pVal);
		[propput, id(11), helpstring("property ShowGotoBar")] HRESULT ShowGotoBar([in] VARIANT_BOOL newVal);
		[propget, id(12), helpstring("property ShowPositionControls")] HRESULT ShowPositionControls([out, retval] VARIANT_BOOL *pVal);
		[propput, id(12), helpstring("property ShowPositionControls")] HRESULT ShowPositionControls([in] VARIANT_BOOL newVal);
		[propget, id(13), helpstring("property ShowTracker")] HRESULT ShowTracker([out, retval] VARIANT_BOOL *pVal);
		[propput, id(13), helpstring("property ShowTracker")] HRESULT ShowTracker([in] VARIANT_BOOL newVal);
		[id(14), helpstring("method Startup")] HRESULT Startup();
		[id(15), helpstring("method Shutdown")] HRESULT Shutdown();
		[propget, id(16), helpstring("property Bandwidth")] HRESULT Bandwidth([out, retval] long *pVal);
		[propget, id(17), helpstring("property BaseURL")] HRESULT BaseURL([out, retval] BSTR *pVal);
		[propput, id(17), helpstring("property BaseURL")] HRESULT BaseURL([in] BSTR pVal);
		[propget, id(18), helpstring("property BufferingCount")] HRESULT BufferingCount([out, retval] long *pVal);
		[propget, id(19), helpstring("property BufferingProgress")] HRESULT BufferingProgress([out, retval] long *pVal);
		[propget, id(20), helpstring("property BufferingTime")] HRESULT BufferingTime([out, retval] double *pVal);
		[propget, id(21), helpstring("property CanSeek")] HRESULT CanSeek([out, retval] VARIANT_BOOL *pVal);
		[propget, id(22), helpstring("property CanSeekToMarkers")] HRESULT CanSeekToMarkers([out, retval] VARIANT_BOOL *pVal);
		[propget, id(23), helpstring("property ChannelDescription")] HRESULT ChannelDescription([out, retval] BSTR *pVal);
		[propget, id(24), helpstring("property ChannelName")] HRESULT ChannelName([out, retval] BSTR *pVal);
		[propget, id(25), helpstring("property ChannelURL")] HRESULT ChannelURL([out, retval] BSTR *pVal);
		[propget, id(26), helpstring("property ClientID")] HRESULT ClientID([out, retval] BSTR *pVal);
		[propget, id(27), helpstring("property ConnectionSpeed")] HRESULT ConnectionSpeed([out, retval] long *pVal);
		[propget, id(28), helpstring("property ContactAddress")] HRESULT ContactAddress([out, retval] BSTR *pVal);
		[propget, id(29), helpstring("property ContactEmail")] HRESULT ContactEmail([out, retval] BSTR *pVal);
		[propget, id(30), helpstring("property ContactPhone")] HRESULT ContactPhone([out, retval] BSTR *pVal);
		[propget, id(31), helpstring("property CurrentMarker")] HRESULT CurrentMarker([out, retval] long *pVal);
		[propput, id(31), helpstring("property CurrentMarker")] HRESULT CurrentMarker([in] long newVal);
		[propget, id(32), helpstring("property CurrentPosition")] HRESULT CurrentPosition([out, retval] double *pVal);
		[propput, id(32), helpstring("property CurrentPosition")] HRESULT CurrentPosition([in] double newVal);
		[propget, id(33), helpstring("property DefaultFrame")] HRESULT DefaultFrame([out, retval] BSTR *pVal);
		[propput, id(33), helpstring("property DefaultFrame")] HRESULT DefaultFrame([in] BSTR newVal);
		[propget, id(34), helpstring("property Duration")] HRESULT Duration([out, retval] double *pVal);
		[propget, id(35), helpstring("property EntryCount")] HRESULT EntryCount([out, retval] long *pVal);
		[propget, id(36), helpstring("property ErrorCode")] HRESULT ErrorCode([out, retval] long *pVal);
		[propget, id(37), helpstring("property ErrorDescription")] HRESULT ErrorDescription([out, retval] BSTR *pVal);
		[propget, id(38), helpstring("property HasError")] HRESULT HasError([out, retval] VARIANT_BOOL *pVal);
		[propget, id(39), helpstring("property HasMultipleItems")] HRESULT HasMultipleItems([out, retval] VARIANT_BOOL *pVal);
		[propget, id(40), helpstring("property ImageSourceHeight")] HRESULT ImageSourceHeight([out, retval] long *pVal);
		[propget, id(41), helpstring("property ImageSourceWidth")] HRESULT ImageSourceWidth([out, retval] long *pVal);
		[propget, id(42), helpstring("property InvokeURLs")] HRESULT InvokeURLs([out, retval] VARIANT_BOOL *pVal);
		[propput, id(42), helpstring("property InvokeURLs")] HRESULT InvokeURLs([in] VARIANT_BOOL newVal);
		[propget, id(43), helpstring("property IsBroadcast")] HRESULT IsBroadcast([out, retval] VARIANT_BOOL *pVal);
		[propget, id(44), helpstring("property IsDurationValid")] HRESULT IsDurationValid([out, retval] VARIANT_BOOL *pVal);
		[propget, id(45), helpstring("property LostPackets")] HRESULT LostPackets([out, retval] long *pVal);
		[propget, id(46), helpstring("property MarkerCount")] HRESULT MarkerCount([out, retval] long *pVal);
		[propget, id(47), helpstring("property OpenState")] HRESULT OpenState([out, retval] long *pVal);
		[propget, id(48), helpstring("property PlayState")] HRESULT PlayState([out, retval] long *pVal);
		[propget, id(49), helpstring("property PreviewMode")] HRESULT PreviewMode([out, retval] VARIANT_BOOL *pVal);
		[propput, id(49), helpstring("property PreviewMode")] HRESULT PreviewMode([in] VARIANT_BOOL newVal);
		[propget, id(50), helpstring("property ReadyState")] HRESULT ReadyState([out, retval] long *pVal);
		[propget, id(51), helpstring("property ReceivedPackets")] HRESULT ReceivedPackets([out, retval] long *pVal);
		[propget, id(52), helpstring("property ReceptionQuality")] HRESULT ReceptionQuality([out, retval] long *pVal);
		[propget, id(53), helpstring("property RecoveredPackets")] HRESULT RecoveredPackets([out, retval] long *pVal);
		[propget, id(54), helpstring("property SAMIFileName")] HRESULT SAMIFileName([out, retval] BSTR *pVal);
		[propput, id(54), helpstring("property SAMIFileName")] HRESULT SAMIFileName([in] BSTR newVal);
		[propget, id(55), helpstring("property SAMILang")] HRESULT SAMILang([out, retval] BSTR *pVal);
		[propput, id(55), helpstring("property SAMILang")] HRESULT SAMILang([in] BSTR newVal);
		[propget, id(56), helpstring("property SAMIStyle")] HRESULT SAMIStyle([out, retval] BSTR *pVal);
		[propput, id(56), helpstring("property SAMIStyle")] HRESULT SAMIStyle([in] BSTR newVal);
		[propget, id(57), helpstring("property SelectionEnd")] HRESULT SelectionEnd([out, retval] double *pVal);
		[propput, id(57), helpstring("property SelectionEnd")] HRESULT SelectionEnd([in] double newVal);
		[propget, id(58), helpstring("property SelectionStart")] HRESULT SelectionStart([out, retval] double *pVal);
		[propput, id(58), helpstring("property SelectionStart")] HRESULT SelectionStart([in] double newVal);
		[propget, id(59), helpstring("property SendErrorEvents")] HRESULT SendErrorEvents([out, retval] VARIANT_BOOL *pVal);
		[propput, id(59), helpstring("property SendErrorEvents")] HRESULT SendErrorEvents([in] VARIANT_BOOL newVal);
		[propget, id(60), helpstring("property SendKeyboardEvents")] HRESULT SendKeyboardEvents([out, retval] VARIANT_BOOL *pVal);
		[propput, id(60), helpstring("property SendKeyboardEvents")] HRESULT SendKeyboardEvents([in] VARIANT_BOOL newVal);
		[propget, id(61), helpstring("property SendMouseClickEvents")] HRESULT SendMouseClickEvents([out, retval] VARIANT_BOOL *pVal);
		[propput, id(61), helpstring("property SendMouseClickEvents")] HRESULT SendMouseClickEvents([in] VARIANT_BOOL newVal);
		[propget, id(62), helpstring("property SendMouseMoveEvents")] HRESULT SendMouseMoveEvents([out, retval] VARIANT_BOOL *pVal);
		[propput, id(62), helpstring("property SendMouseMoveEvents")] HRESULT SendMouseMoveEvents([in] VARIANT_BOOL newVal);
		[propget, id(63), helpstring("property SendOpenStateChangeEvents")] HRESULT SendOpenStateChangeEvents([out, retval] VARIANT_BOOL *pVal);
		[propput, id(63), helpstring("property SendOpenStateChangeEvents")] HRESULT SendOpenStateChangeEvents([in] VARIANT_BOOL newVal);
		[propget, id(64), helpstring("property SendPlayStateChangeEvents")] HRESULT SendPlayStateChangeEvents([out, retval] VARIANT_BOOL *pVal);
		[propput, id(64), helpstring("property SendPlayStateChangeEvents")] HRESULT SendPlayStateChangeEvents([in] VARIANT_BOOL newVal);
		[propget, id(65), helpstring("property SendWarningEvents")] HRESULT SendWarningEvents([out, retval] VARIANT_BOOL *pVal);

⌨️ 快捷键说明

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