你自己定义一个嘛,const IID_IAsyncExControl: TGUID = '{3E0FA056-926C-43d9-BA18-EF16E980913B}';这个定义跟下面的是一样就行在 Filters/AsyncEx/Config.pas 里面type IAsyncExControl = interface(IUnknown) ['{3E0FA056-926C-43d9-BA18-EF16E980913B}'] function SetLoadFromStream(Stream: IStream;
Length: int64): HRESULT;
stdcall;
function SetConnectToIp(Host: PChar;
Port: PChar;
Location: PChar;
PreBuffersize: integer;
MetaData: LongBool): HRESULT;
stdcall;
function SetConnectToURL(URL: PChar;
PreBuffersize: integer;
MetaData: LongBool): HRESULT;
stdcall;
function SetBuffersize(BufferSize: integer): HRESULT;
stdcall;
function GetBuffersize(out BufferSize: integer): HRESULT;
stdcall;
function SetRipStream(Ripstream: LongBool;
Path: PChar;
Filename: PChar): HRESULT;
stdcall;
function GetRipStream(out Ripstream: LongBool;
out FileO: PChar): HRESULT;
stdcall;
function SetCallBack(CallBack: IAsyncExCallBack): HRESULT;
stdcall;
function FreeCallback(): HRESULT;
stdcall;
function ExitAllLoops(): HRESULT;
stdcall;
end;
demos/D6-D7/ShoutCast 是一个使用的例子