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

📄 rmaplgns.pas

📁 Delphi源码REAlRMSDK.rar
💻 PAS
字号:
unit RmaPlgns;

interface

uses
  RmaPckts;

//***************************************************************************
//
//  $Id: rmaplgns.h,v 1.4 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 Plug-in Interfaces.
//
//

//***************************************************************************
//
//  Interface:
//
//	IRMAObjectConfiguration
//
//  Purpose:
//
//	Interface for setting context and generic means of plugin
//	Configuration.
//
//  IRMAObjectConfiguration:
//
//	{0x00002900-0901-11d1-8B06-00A024406D59}
//
//

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

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

    //***********************************************************************
    //	Method:
    //	    IRMAObjectConfiguration::SetContext
    //	Purpose:
    //	    This function is called to set the context for the plugin.
    //	    Either IRMAPlugin::InitPlugin or this function must be called
    //	    before calling any other function on the plugin.
    //	    this is intended to be used as a shortcut for the plugin user.
    //	    If one needs to use SetConfiguration they only need to query
    //	    IRMAObjectConfiguration saving them from also querying for
    //	    IRMAPlugin.
    //
    //

    function SetContext(pIUnknownContext: IUnknown): HRESULT; stdcall;

    //***********************************************************************
    //	Method:
    //	    IRMAObjectConfiguration::SetConfiguration
    //	Purpose:
    //	    This allows the user of a plugin to supply configuration
    //	    information.  This is often a set of CString properties
    //	    extracted from a list in the config file.  This allows
    //	    each plugin within a class (auth plugin, database plugin, etc..)
    //	    to require a different set of parameters.
    //
    //

    function SetConfiguration(pIRMAValuesConfiguration: IRMAValues): HRESULT; stdcall;

  end;
  {$EXTERNALSYM IRMAObjectConfiguration}

//***************************************************************************
//
//  Interface:
//
//	IRMAPluginProperties
//
//  Purpose:
//
//	This allows plugins to return whatever properties they want.
//
//  IRMAPluginProperties:
//
//	{0x00002901-0901-11d1-8B06-00A024406D59}
//
//

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

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

    //***********************************************************************
    //	Method:
    //	    IRMAPluginProperties::GetProperties
    //	Purpose:
    //	    A plugin will implement this in order to return plugin properties
    //	    that will allow it to be identified uniquely.  (PluginID,
    //	    AuthenticationProtocol, etc..)
    //
    //

    function GetProperties(out pIRMAValuesProperties: IRMAValues): HRESULT; stdcall;

  end;
  {$EXTERNALSYM IRMAPluginProperties}

implementation

end.

⌨️ 快捷键说明

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