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

📄 rmasite2.pas

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

interface

uses
  PnTypes, PnWinTyp, RmaVSurf;

//***************************************************************************
//
//  $Id: rmasite2.h,v 1.7 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 Simple Window Interfaces.
//
//

//***************************************************************************
//
//  Interface:
//
//	IRMAPassiveSiteWatcher
//
//  Purpose:
//
//	Interface for IRMAPassiveSiteWatcher objects.
//
//  IID_IRMAPassiveSiteWatcher:
//
//	{0x00000D0F-0901-11d1-8B06-00A024406D59}
//
//

const
  IID_IRMAPassiveSiteWatcher: TGUID = '{00000D0F-0901-11d1-8B06-00A024406D59}';
  {$EXTERNALSYM IID_IRMAPassiveSiteWatcher}

type
  IRMAPassiveSiteWatcher = interface (IUnknown)
  ['{00000D0F-0901-11d1-8B06-00A024406D59}']

    //
    // IRMAPassiveSiteWatcher method used to notify
    // about position updates
    //

    function PositionChanged(const pPoint: PNxPoint): HRESULT; stdcall;

    //
    // IRMAPassiveSiteWatcher method used to notify
    // about size updates
    //

    function SizeChanged(const pSize: PNxSize): HRESULT; stdcall;

  end;
  {$EXTERNALSYM IRMAPassiveSiteWatcher}

//***************************************************************************
//
//  Interface:
//
//	IRMASite2
//
//  Purpose:
//
//  Interface for IRMASite2 objects.
//
//  IID_IRMASite:
//
//	{0x00000D0A-0901-11d1-8B06-00A024406D59}
//
//

const
  IID_IRMASite2: TGUID = '{00000D0A-0901-11d1-8B06-00A024406D59}';
  {$EXTERNALSYM IID_IRMASite2}

type
  IRMASite2 = interface (IUnknown)
  ['{00000D0A-0901-11d1-8B06-00A024406D59}']

    //
    // IRMASite2 method usually called by the "context"
    // when window attributes (like the window handle) have changed.
    //

    function UpdateSiteWindow(const pWindow: PNxWindow): HRESULT; stdcall;

    //
    // IRMASite2 method usually called by the "context" to
    // to hide/show a site.
    //

    function ShowSite(bShow: BOOL): HRESULT; stdcall;

    function IsSiteVisible: BOOL; stdcall;

    //
    // IRMASite2 method usually called by the "context" to
    // set the site's Z-order
    //

    function SetZOrder(lZOrder: INT32): HRESULT; stdcall;

    //
    // IRMASite2 method called to get the site's Z-order
    //

    function GetZOrder(var lZOrder: INT32): HRESULT; stdcall;

    //
    // IRMASite2 method called to set the site at the top
    // of the Z-order
    //

    function MoveSiteToTop: HRESULT; stdcall;

    //
    // IRMASite2 method called to get the site's video surface
    //

    function GetVideoSurface(out pSurface: IRMAVideoSurface): HRESULT; stdcall;

    //
    // IRMASite2 method called to get the number of child sites.
    //

    function GetNumberOfChildSites: UINT32; stdcall;

    //
    // IRMASite2 method to add a watcher that does not affect the site
    //

    function AddPassiveSiteWatcher(pWatcher: IRMAPassiveSiteWatcher): HRESULT; stdcall;

    //
    // IRMASite2 method to remove a watcher that does not affect the site
    //

    function RemovePassiveSiteWatcher(pWatcher: IRMAPassiveSiteWatcher): HRESULT; stdcall;

    //
    // IRMASite2 method used to do cursor management
    //

    function SetCursor(ulCursor: PNxCursor; var ulOldCursor: PNxCursor): HRESULT; stdcall;

  end;
  {$EXTERNALSYM IRMASite2}

implementation

end.

⌨️ 快捷键说明

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