📄 rmaclsnk.pas
字号:
unit RmaClSnk;
interface
uses
PnTypes;
//***************************************************************************
//
// $Id: rmaclsnk.h,v 1.12 1999/01/29 18:32:11 hboone Exp $
//
// Copyright (C) 1995-1999 RealNetworks, Inc. All rights reserved.
//
// http://www.real.com/devzone
//
// This program contains proprietary
// information of Progressive Networks, Inc, and is licensed
// subject to restrictions on use and distribution.
//
//
// Client Advise Sink Interfaces
//
//
//***************************************************************************
//
// Interface:
//
// IRMAClientAdviseSink
//
// Purpose:
//
// Interface supplied by client to core to receive notifications of
// status changes.
//
// IID_IRMAClientAdviseSink:
//
// {00000B00-0901-11d1-8B06-00A024406D59}
//
//
const
IID_IRMAClientAdviseSink: TGUID = '{00000B00-0901-11d1-8B06-00A024406D59}';
{$EXTERNALSYM IID_IRMAClientAdviseSink}
type
IRMAClientAdviseSink = interface (IUnknown)
['{00000B00-0901-11d1-8B06-00A024406D59}']
//***********************************************************************
// Method:
// IRMAClientAdviseSink::OnPosLength
// Purpose:
// Called to advise the client that the position or length of the
// current playback context has changed.
//
function OnPosLength(ulPosition, ulLength: UINT32): HRESULT; stdcall;
//***********************************************************************
// Method:
// IRMAClientAdviseSink::OnPresentationOpened
// Purpose:
// Called to advise the client a presentation has been opened.
//
function OnPresentationOpened: HRESULT; stdcall;
//***********************************************************************
// Method:
// IRMAClientAdviseSink::OnPresentationClosed
// Purpose:
// Called to advise the client a presentation has been closed.
//
function OnPresentationClosed: HRESULT; stdcall;
//***********************************************************************
// Method:
// IRMAClientAdviseSink::OnStatisticsChanged
// Purpose:
// Called to advise the client that the presentation statistics
// have changed.
//
function OnStatisticsChanged: HRESULT; stdcall;
//***********************************************************************
// Method:
// IRMAClientAdviseSink::OnPreSeek
// Purpose:
// Called by client engine to inform the client that a seek is
// about to occur. The render is informed the last time for the
// stream's time line before the seek, as well as the first new
// time for the stream's time line after the seek will be completed.
//
//
function OnPreSeek(ulOldTime, ulNewTime: ULONG32): HRESULT; stdcall;
//***********************************************************************
// Method:
// IRMAClientAdviseSink::OnPostSeek
// Purpose:
// Called by client engine to inform the client that a seek has
// just occurred. The render is informed the last time for the
// stream's time line before the seek, as well as the first new
// time for the stream's time line after the seek.
//
//
function OnPostSeek(ulOldTime, ulNewTime: ULONG32): HRESULT; stdcall;
//***********************************************************************
// Method:
// IRMAClientAdviseSink::OnStop
// Purpose:
// Called by client engine to inform the client that a stop has
// just occurred.
//
//
function OnStop: HRESULT; stdcall;
//***********************************************************************
// Method:
// IRMAClientAdviseSink::OnPause
// Purpose:
// Called by client engine to inform the client that a pause has
// just occurred. The render is informed the last time for the
// stream's time line before the pause.
//
//
function OnPause(ulTime: ULONG32): HRESULT; stdcall;
//***********************************************************************
// Method:
// IRMAClientAdviseSink::OnBegin
// Purpose:
// Called by client engine to inform the client that a begin or
// resume has just occurred. The render is informed the first time
// for the stream's time line after the resume.
//
//
function OnBegin(ulTime: ULONG32): HRESULT; stdcall;
//***********************************************************************
// Method:
// IRMAClientAdviseSink::OnBuffering
// Purpose:
// Called by client engine to inform the client that buffering
// of data is occuring. The render is informed of the reason for
// the buffering (start-up of stream, seek has occurred, network
// congestion, etc.), as well as percentage complete of the
// buffering process.
//
//
function OnBuffering(ulFlags: ULONG32; unPercentComplete: UINT16): HRESULT; stdcall;
//***********************************************************************
// Method:
// IRMAClientAdviseSink::OnContacting
// Purpose:
// Called by client engine to inform the client is contacting
// hosts(s).
//
//
function OnContacting(pHostName: PChar): HRESULT; stdcall;
end;
{$EXTERNALSYM IRMAClientAdviseSink}
implementation
end.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -