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

📄 rmacfg.pas

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

interface

uses
  RmaPckts;

//***************************************************************************
//
//  $Id: rmacfg.h,v 1.4 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.
//
//  Server Configuration File Interface
//
//

//***************************************************************************
//
//  Interface:
//
//	IRMAConfigFile
//
//  Purpose:
//
//  IID_IRMAConfigFile:
//
//	{00001c00-0901-11d1-8B06-00A024406D59}
//
//

const
  IID_IRMAConfigFile: TGUID = '{00001c00-0901-11d1-8B06-00A024406D59}';
  {$EXTERNALSYM IID_IRMAConfigFile}

type
  IRMAConfigFile = interface (IUnknown)
  ['{00001c00-0901-11d1-8B06-00A024406D59}']

    //***********************************************************************
    //  Method:
    //	    IRMAConfigFile::LoadFrom
    //	Purpose:
    //
    //	    LoadFrom tells the server to load the config file specified,
    //	    and sets that file as the default for future Reloads and Saves
    //

    function LoadFrom(filename: IRMABuffer): HRESULT; stdcall;

    //***********************************************************************
    //	Method:
    //	    IRMAConfigFile::Reload
    //	Purpose:
    //
    //	    Reload causes the current default config file to be reloaded.
    //

    function Reload: HRESULT; stdcall;

    //***********************************************************************
    //	Method:
    //	    IRMAConfigFile::Save
    //	Purpose:
    //
    //	    Save causes the current configuration to be written to the
    //	    current default file.
    //

    function Save: HRESULT; stdcall;

    //***********************************************************************
    //	Method:
    //	    IRMAConfigFile::SaveAs
    //	Purpose:
    //
    //	    SaveAs writes the configuration to the named file, and sets that
    //	    file as the default.
    //

    function SaveAs(pFilename: IRMABuffer): HRESULT; stdcall;

    //***********************************************************************
    //	Method:
    //	    IRMAConfigFile::GetFilename
    //	Purpose:
    //
    //	    GetFilename returns the current default file
    //

    function GetFilename(out pFilename: IRMABuffer): HRESULT; stdcall;

    //***********************************************************************
    //	Method:
    //	    IRMAConfigFile::SetFilename
    //	Purpose:
    //
    //	    SetFilename sets the current default file, but does not read it
    //	    or change its contents.
    //

    function SetFilename(pFilename: IRMABuffer): HRESULT; stdcall;

  end;
  {$EXTERNALSYM IRMAConfigFile}

//***************************************************************************
//
//  Interface:
//
//	IRMARegConfig
//
//  Purpose:
//
//  IID_IRMARegConfig:
//
//	{00001c01-0901-11d1-8B06-00A024406D59}
//
//

const
  IID_IRMARegConfig: TGUID = '{00001c01-0901-11d1-8B06-00A024406D59}';
  {$EXTERNALSYM IID_IRMARegConfig}

type
  IRMARegConfig = interface (IUnknown)
  ['{00001c01-0901-11d1-8B06-00A024406D59}']

    //***********************************************************************
    //	Method:
    //	    IRMARegConfig::WriteKey
    //	Purpose:
    //
    //	    Write out the registry from the passed in keyname to the
    //  currently active permanent config storage area (ex. config file,
    //  registry).
    //

    function WriteKey(pKeyName: PChar): HRESULT; stdcall;

  end;
  {$EXTERNALSYM IRMARegConfig}

implementation

end.

⌨️ 快捷键说明

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