Main Page   Modules   Class Hierarchy   Compound List   File List   Compound Members   File Members   Related Pages   Examples  

hyp.ker.objbase.h

00001 /*
00002 \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
00003  Hyperion Pattern.
00004  Hyperion Pattern is a part of the Hyperion Project.
00005 ----------------------------------------------------------
00006  Copyright (c) 2001 Pierre Rebours.
00007 
00008  This library is free software; you can redistribute it and/or
00009  modify it under the terms of the GNU Lesser General Public
00010  License as published by the Free Software Foundation; either
00011  version 2.1 of the License, or (at your option) any later version.
00012 
00013  This library is distributed in the hope that it will be useful,
00014  but WITHOUT ANY WARRANTY; without even the implied warranty of
00015  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
00016  
00017  See hyp.license.txt file for more information about the license.
00018  
00019  Web: http://lagrandeporte.multimania.com/hyperion
00020  Email: amtycho@yahoo.fr
00021 ----------------------------------------------------------
00022  CVS
00023  $Log$
00024 \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
00025 */
00026 
00027 
00028 #ifndef _hyp_objbase_h_
00029 #define _hyp_objbase_h_
00030 
00031 #ifndef hyp_KERNEL_INSIDE
00032 #error Inclusion not allowed (include hyp.kernel.h instead)
00033 #endif
00034 
00035 
00046 typedef com_result (hyp_CALL_CONV *PTR_HYPDLLGETCLASSOBJECT)(const CGuid& CLSID,const CGuid& IID,void** ppv);
00047 
00056 typedef com_result (hyp_CALL_CONV *PTR_HYPDLLCANUNLOADNOW)(void);
00057 
00066 typedef com_result (hyp_CALL_CONV *PTR_REGISTERSERVER)(void);
00067 
00076 typedef com_result (hyp_CALL_CONV *PTR_UNREGISTERSERVER)(void);
00077 
00078 
00084 typedef int hypSERVERINFO;
00085 
00086 hyp_ker_DLL extern const t_ulong INPROC_SERVER;
00087 
00088 hyp_ker_DLL com_result hypGetPathInprocessServer(const CGuid&, std::string&);
00089 
00090 hyp_ker_DLL com_result CreateInstance(const hypCLSID&,IUnknown*,
00091                                   t_ulong,const hypIID&,void**);
00092 hyp_ker_DLL com_result GetClassObject(const hypCLSID&, t_ulong, hypSERVERINFO*,
00093                                   const hypIID&,void**);
00094 hyp_ker_DLL void FreeUnusedLibraries(void);
00095 
00096 hyp_ker_DLL void GetLoadedLibraries(std::ostream&);
00097 
00098 #endif

Top of Page
written by Pierre Rebours © 2000-2001. Terms of Use.