📄 mediaplayer9_tlb.pas
字号:
procedure clear; safecall;
procedure insertItem(lIndex: Integer; const pIWMPMedia: IWMPMedia); safecall;
procedure appendItem(const pIWMPMedia: IWMPMedia); safecall;
procedure removeItem(const pIWMPMedia: IWMPMedia); safecall;
procedure moveItem(lIndexOld: Integer; lIndexNew: Integer); safecall;
property count: Integer read Get_count;
property name: WideString read Get_name write Set_name;
property attributeCount: Integer read Get_attributeCount;
property attributeName[lIndex: Integer]: WideString read Get_attributeName;
property Item[lIndex: Integer]: IWMPMedia read Get_Item;
property isIdentical[const pIWMPPlaylist: IWMPPlaylist]: WordBool read Get_isIdentical;
end;
// *********************************************************************//
// DispIntf: IWMPPlaylistDisp
// Flags: (4416) Dual OleAutomation Dispatchable
// GUID: {D5F0F4F1-130C-11D3-B14E-00C04F79FAA6}
// *********************************************************************//
IWMPPlaylistDisp = dispinterface
['{D5F0F4F1-130C-11D3-B14E-00C04F79FAA6}']
property count: Integer readonly dispid 201;
property name: WideString dispid 202;
property attributeCount: Integer readonly dispid 210;
property attributeName[lIndex: Integer]: WideString readonly dispid 211;
property Item[lIndex: Integer]: IWMPMedia readonly dispid 212;
function getItemInfo(const bstrName: WideString): WideString; dispid 203;
procedure setItemInfo(const bstrName: WideString; const bstrValue: WideString); dispid 204;
property isIdentical[const pIWMPPlaylist: IWMPPlaylist]: WordBool readonly dispid 213;
procedure clear; dispid 205;
procedure insertItem(lIndex: Integer; const pIWMPMedia: IWMPMedia); dispid 206;
procedure appendItem(const pIWMPMedia: IWMPMedia); dispid 207;
procedure removeItem(const pIWMPMedia: IWMPMedia); dispid 208;
procedure moveItem(lIndexOld: Integer; lIndexNew: Integer); dispid 209;
end;
// *********************************************************************//
// Interface: IWMPSettings
// Flags: (4416) Dual OleAutomation Dispatchable
// GUID: {9104D1AB-80C9-4FED-ABF0-2E6417A6DF14}
// *********************************************************************//
IWMPSettings = interface(IDispatch)
['{9104D1AB-80C9-4FED-ABF0-2E6417A6DF14}']
function Get_isAvailable(const bstrItem: WideString): WordBool; safecall;
function Get_autoStart: WordBool; safecall;
procedure Set_autoStart(pfAutoStart: WordBool); safecall;
function Get_baseURL: WideString; safecall;
procedure Set_baseURL(const pbstrBaseURL: WideString); safecall;
function Get_defaultFrame: WideString; safecall;
procedure Set_defaultFrame(const pbstrDefaultFrame: WideString); safecall;
function Get_invokeURLs: WordBool; safecall;
procedure Set_invokeURLs(pfInvokeURLs: WordBool); safecall;
function Get_mute: WordBool; safecall;
procedure Set_mute(pfMute: WordBool); safecall;
function Get_playCount: Integer; safecall;
procedure Set_playCount(plCount: Integer); safecall;
function Get_rate: Double; safecall;
procedure Set_rate(pdRate: Double); safecall;
function Get_balance: Integer; safecall;
procedure Set_balance(plBalance: Integer); safecall;
function Get_volume: Integer; safecall;
procedure Set_volume(plVolume: Integer); safecall;
function getMode(const bstrMode: WideString): WordBool; safecall;
procedure setMode(const bstrMode: WideString; varfMode: WordBool); safecall;
function Get_enableErrorDialogs: WordBool; safecall;
procedure Set_enableErrorDialogs(pfEnableErrorDialogs: WordBool); safecall;
property isAvailable[const bstrItem: WideString]: WordBool read Get_isAvailable;
property autoStart: WordBool read Get_autoStart write Set_autoStart;
property baseURL: WideString read Get_baseURL write Set_baseURL;
property defaultFrame: WideString read Get_defaultFrame write Set_defaultFrame;
property invokeURLs: WordBool read Get_invokeURLs write Set_invokeURLs;
property mute: WordBool read Get_mute write Set_mute;
property playCount: Integer read Get_playCount write Set_playCount;
property rate: Double read Get_rate write Set_rate;
property balance: Integer read Get_balance write Set_balance;
property volume: Integer read Get_volume write Set_volume;
property enableErrorDialogs: WordBool read Get_enableErrorDialogs write Set_enableErrorDialogs;
end;
// *********************************************************************//
// DispIntf: IWMPSettingsDisp
// Flags: (4416) Dual OleAutomation Dispatchable
// GUID: {9104D1AB-80C9-4FED-ABF0-2E6417A6DF14}
// *********************************************************************//
IWMPSettingsDisp = dispinterface
['{9104D1AB-80C9-4FED-ABF0-2E6417A6DF14}']
property isAvailable[const bstrItem: WideString]: WordBool readonly dispid 113;
property autoStart: WordBool dispid 101;
property baseURL: WideString dispid 108;
property defaultFrame: WideString dispid 109;
property invokeURLs: WordBool dispid 103;
property mute: WordBool dispid 104;
property playCount: Integer dispid 105;
property rate: Double dispid 106;
property balance: Integer dispid 102;
property volume: Integer dispid 107;
function getMode(const bstrMode: WideString): WordBool; dispid 110;
procedure setMode(const bstrMode: WideString; varfMode: WordBool); dispid 111;
property enableErrorDialogs: WordBool dispid 112;
end;
// *********************************************************************//
// Interface: IWMPMediaCollection
// Flags: (4416) Dual OleAutomation Dispatchable
// GUID: {8363BC22-B4B4-4B19-989D-1CD765749DD1}
// *********************************************************************//
IWMPMediaCollection = interface(IDispatch)
['{8363BC22-B4B4-4B19-989D-1CD765749DD1}']
function add(const bstrURL: WideString): IWMPMedia; safecall;
function getAll: IWMPPlaylist; safecall;
function getByName(const bstrName: WideString): IWMPPlaylist; safecall;
function getByGenre(const bstrGenre: WideString): IWMPPlaylist; safecall;
function getByAuthor(const bstrAuthor: WideString): IWMPPlaylist; safecall;
function getByAlbum(const bstrAlbum: WideString): IWMPPlaylist; safecall;
function getByAttribute(const bstrAttribute: WideString; const bstrValue: WideString): IWMPPlaylist; safecall;
procedure remove(const pItem: IWMPMedia; varfDeleteFile: WordBool); safecall;
function getAttributeStringCollection(const bstrAttribute: WideString;
const bstrMediaType: WideString): IWMPStringCollection; safecall;
function getMediaAtom(const bstrItemName: WideString): Integer; safecall;
procedure setDeleted(const pItem: IWMPMedia; varfIsDeleted: WordBool); safecall;
function isDeleted(const pItem: IWMPMedia): WordBool; safecall;
end;
// *********************************************************************//
// DispIntf: IWMPMediaCollectionDisp
// Flags: (4416) Dual OleAutomation Dispatchable
// GUID: {8363BC22-B4B4-4B19-989D-1CD765749DD1}
// *********************************************************************//
IWMPMediaCollectionDisp = dispinterface
['{8363BC22-B4B4-4B19-989D-1CD765749DD1}']
function add(const bstrURL: WideString): IWMPMedia; dispid 452;
function getAll: IWMPPlaylist; dispid 453;
function getByName(const bstrName: WideString): IWMPPlaylist; dispid 454;
function getByGenre(const bstrGenre: WideString): IWMPPlaylist; dispid 455;
function getByAuthor(const bstrAuthor: WideString): IWMPPlaylist; dispid 456;
function getByAlbum(const bstrAlbum: WideString): IWMPPlaylist; dispid 457;
function getByAttribute(const bstrAttribute: WideString; const bstrValue: WideString): IWMPPlaylist; dispid 458;
procedure remove(const pItem: IWMPMedia; varfDeleteFile: WordBool); dispid 459;
function getAttributeStringCollection(const bstrAttribute: WideString;
const bstrMediaType: WideString): IWMPStringCollection; dispid 461;
function getMediaAtom(const bstrItemName: WideString): Integer; dispid 470;
procedure setDeleted(const pItem: IWMPMedia; varfIsDeleted: WordBool); dispid 471;
function isDeleted(const pItem: IWMPMedia): WordBool; dispid 472;
end;
// *********************************************************************//
// Interface: IWMPStringCollection
// Flags: (4416) Dual OleAutomation Dispatchable
// GUID: {4A976298-8C0D-11D3-B389-00C04F68574B}
// *********************************************************************//
IWMPStringCollection = interface(IDispatch)
['{4A976298-8C0D-11D3-B389-00C04F68574B}']
function Get_count: Integer; safecall;
function Item(lIndex: Integer): WideString; safecall;
property count: Integer read Get_count;
end;
// *********************************************************************//
// DispIntf: IWMPStringCollectionDisp
// Flags: (4416) Dual OleAutomation Dispatchable
// GUID: {4A976298-8C0D-11D3-B389-00C04F68574B}
// *********************************************************************//
IWMPStringCollectionDisp = dispinterface
['{4A976298-8C0D-11D3-B389-00C04F68574B}']
property count: Integer readonly dispid 401;
function Item(lIndex: Integer): WideString; dispid 402;
end;
// *********************************************************************//
// Interface: IWMPPlaylistCollection
// Flags: (4416) Dual OleAutomation Dispatchable
// GUID: {10A13217-23A7-439B-B1C0-D847C79B7774}
// *********************************************************************//
IWMPPlaylistCollection = interface(IDispatch)
['{10A13217-23A7-439B-B1C0-D847C79B7774}']
function newPlaylist(const bstrName: WideString): IWMPPlaylist; safecall;
function getAll: IWMPPlaylistArray; safecall;
function getByName(const bstrName: WideString): IWMPPlaylistArray; safecall;
procedure remove(const pItem: IWMPPlaylist); safecall;
procedure setDeleted(const pItem: IWMPPlaylist; varfIsDeleted: WordBool); safecall;
function isDeleted(const pItem: IWMPPlaylist): WordBool; safecall;
function importPlaylist(const pItem: IWMPPlaylist): IWMPPlaylist; safecall;
end;
// *********************************************************************//
// DispIntf: IWMPPlaylistCollectionDisp
// Flags: (4416) Dual OleAutomation Dispatchable
// GUID: {10A13217-23A7-439B-B1C0-D847C79B7774}
// *********************************************************************//
IWMPPlaylistCollectionDisp = dispinterface
['{10A13217-23A7-439B-B1C0-D847C79B7774}']
function newPlaylist(const bstrName: WideString): IWMPPlaylist; dispid 552;
function getAll: IWMPPlaylistArray; dispid 553;
function getByName(const bstrName: WideString): IWMPPlaylistArray; dispid 554;
procedure remove(const pItem: IWMPPlaylist); dispid 556;
procedure setDeleted(const pItem: IWMPPlaylist; varfIsDeleted: WordBool); dispid 560;
function isDeleted(const pItem: IWMPPlaylist): WordBool; dispid 561;
function importPlaylist(const pItem: IWMPPlaylist): IWMPPlaylist; dispid 562;
end;
// *********************************************************************//
// Interface: IWMPPlaylistArray
// Flags: (4416) Dual OleAutomation Dispatchable
// GUID: {679409C0-99F7-11D3-9FB7-00105AA620BB}
// *********************************************************************//
IWMPPlaylistArray = interface(IDispatch)
['{679409C0-99F7-11D3-9FB7-00105AA620BB}']
function Get_count: Integer; safecall;
function Item(lIndex: Integer): IWMPPlaylist; safecall;
property count: Integer read Get_count;
end;
// *********************************************************************//
// DispIntf: IWMPPlaylistArrayDisp
// Flags: (4416) Dual OleAutomation Dispatchable
// GUID: {679409C0-99F7-11D3-9FB7-00105AA620BB}
// *********************************************************************//
IWMPPlaylistArrayDisp = dispinterface
['{679409C0-99F7-11D3-9FB7-00105AA620BB}']
property count: Integer readonly dispid 501;
function Item(lIndex: Integer): IWMPPlaylist; dispid 502;
end;
// *********************************************************************//
// Interface: IWMPNetwork
// Flags: (4416) Dual OleAutomation Dispatchable
// GUID: {EC21B779-EDEF-462D-BBA4-AD9DDE2B29A7}
// *********************************************************************//
IWMPNetwork = interface(IDispatch)
['{EC21B779-EDEF-462D-BBA4-AD9DDE2B29A7}']
function Get_bandWidth: Integer; safecall;
function Get_recoveredPackets: Integer; safecall;
function Get_sourceProtocol: WideString; safecall;
function Get_receivedPackets: Integer; safecall;
function Get_lostPackets: Integer; safecall;
function Get_receptionQuality: Integer; safecall;
function Get_bufferingCount: Integer; safecall;
function Get_bufferingProgress: Integer; safecall;
function Get_bufferingTime: Integer; safecall;
procedure Set_bufferingTime(plBufferingTime: Integer); safecall;
function Get_frameRate: Integer; safecall;
function Get_maxBitRate: Integer; safecall;
function Get_bitRate: Integer; safecall;
function getProxySettings(const bstrProtocol: WideString): Integer;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -