rmapsink.pas

来自「Delphi源码REAlRMSDK.rar」· PAS 代码 · 共 122 行

PAS
122
字号
unit RmaPSink;

interface

uses
  RmaCore;

//***************************************************************************
//
//  $Id: rmapsink.h,v 1.6 1999/01/29 18:32:12 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.
//
//
//  RealMedia Architecture player creation interfaces.
//
//

//***************************************************************************
//
//  Interface:
//
//	IRMAPlayerCreationSink
//
//  Purpose:
//
//	PlayerCreation Sink Interface
//
//  IID_IRMAPlayerCreationSink:
//
//	{00002100-0901-11d1-8B06-00A024406D59}
//
//

const
  IID_IRMAPlayerCreationSink: TGUID = '{00002100-0901-11d1-8B06-00A024406D59}';
  {$EXTERNALSYM IID_IRMAPlayerCreationSink}

type
  IRMAPlayerCreationSink = interface (IUnknown)
  ['{00002100-0901-11d1-8B06-00A024406D59}']

    //***********************************************************************
    //	Method:
    //	    IRMAPlayerCreationSink::PlayerCreated
    //	Purpose:
    //	    Notification when a new player is created
    //
    //

    function PlayerCreated(pPlayer: IRMAPlayer): HRESULT; stdcall;

    //***********************************************************************
    //	Method:
    //	    IRMAPlayerCreationSink::PlayerClosed
    //	Purpose:
    //	    Notification when an exisitng player is closed
    //
    //

    function PlayerClosed(pPlayer: IRMAPlayer): HRESULT; stdcall;

  end;
  {$EXTERNALSYM IRMAPlayerCreationSink}


//***************************************************************************
//
//  Interface:
//
//	IRMAPlayerSinkControl
//
//  Purpose:
//
//	Player SinkControl Interface
//
//  IID_IRMAPlayerSinkControl:
//
//	{00002101-0901-11d1-8B06-00A024406D59}
//
//

const
  IID_IRMAPlayerSinkControl: TGUID = '{00002101-0901-11d1-8B06-00A024406D59}';

type
  IRMAPlayerSinkControl = interface (IUnknown)
  ['{00002101-0901-11d1-8B06-00A024406D59}']

    //***********************************************************************
    //	Method:
    //	    IRMAPlayerSinkControl::AddSink
    //	Purpose:
    //	    Add a new sink
    //
    //

    function AddSink(pSink: IRMAPlayerCreationSink): HRESULT; stdcall;

    //***********************************************************************
    //	Method:
    //	    IRMAPlayerSinkControl::RemoveSink
    //	Purpose:
    //	    Remove an exisitng sink
    //
    //

    function RemoveSink(pSink: IRMAPlayerCreationSink): HRESULT; stdcall;

  end;
  {$EXTERNALSYM IRMAPlayerSinkControl}

implementation

end.

⌨️ 快捷键说明

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