vidplin.h
上传用户:dangjiwu
上传日期:2013-07-19
资源大小:42019k
文件大小:2k
- /////////////////////////////////////////////////////////////////////////////
- //
- // 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();