vidplin.h

来自「symbian 下的helix player源代码」· C头文件 代码 · 共 78 行

H
78
字号
/////////////////////////////////////////////////////////////////////////////
// 
//  vidplin.h
//
//  Copyright (C) 1995,1996,1997 Progressive Networks, 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.
//
//  Video PluginFactory 
//
//

class VideoPluginFactory : public IHXPluginFactory
{
public:
    VideoPluginFactory();

    STDMETHOD(QueryInterface)           (THIS_
                                         REFIID riid,
                                         void** ppvObj) ;
   
    STDMETHOD_(ULONG32,AddRef)          (THIS);

    STDMETHOD_(ULONG32,Release)         (THIS);

    STDMETHOD_(UINT16, GetNumPlugins) (THIS);

    STDMETHOD(GetPlugin)(THIS_
			UINT16 		uIndex, 
			IUnknown**  	pPlugin);

    LONG32 m_lRefCount;
    UINT16  m_usNumOfPlugins;
    static HX_RESULT (STDAPICALLTYPE  *const m_fpEntryArray[])(IUnknown**);
    static HX_RESULT (STDAPICALLTYPE  *const m_fpExitArray[])();
    static HX_RESULT (STDAPICALLTYPE  *const m_fpUnloadArray[])();
    static HX_RESULT (STDAPICALLTYPE  *const m_fpUnloadArray2[])();
};

/****************************************************************************
 * 
 *  Function:
 * 
 *	HXCreateInstance()
 * 
 *  Purpose:
 * 
 *	Function implemented by all plugin DLL's to create an instance of 
 *	any of the objects supported by the DLL. This method is similar to 
 *	Window's CoCreateInstance() in its purpose, except that it only 
 *	creates objects from this plugin DLL.
 *
 *	NOTE: Aggregation is never used. Therefore and outer unknown is
 *	not passed to this function, and you do not need to code for this
 *	situation.
 * 
 */
STDAPI HXCreateInstance(IUnknown**  /*OUT*/	ppIUnknown);

/****************************************************************************
 *
 *  Function:
 *
 *	HXShutdown()
 *
 *  Purpose:
 *
 *	Function implemented by all plugin DLL's to free any *global* 
 *	resources. This method is called just before the DLL is unloaded. 
 *
 */
STDAPI HXShutdown();

⌨️ 快捷键说明

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