mirror of https://github.com/axmolengine/axmol.git
54 lines
1.4 KiB
C
54 lines
1.4 KiB
C
|
|
|||
|
#ifndef __TG3_APP_DLL_ENTRY_H__
|
|||
|
#define __TG3_APP_DLL_ENTRY_H__
|
|||
|
|
|||
|
#ifndef __cplusplus
|
|||
|
#error This file need C++ support
|
|||
|
#endif
|
|||
|
|
|||
|
#if TG3_APP_ENTRY_MINIMUM_VERSION > 200
|
|||
|
#error Please replace TG3AppDllEntry.h and TG3AppDllEntry.cpp to newest version!
|
|||
|
#endif
|
|||
|
|
|||
|
#ifdef __TCOM_SUPPORT__
|
|||
|
|
|||
|
#include "TCOM.h"
|
|||
|
|
|||
|
//<2F>ṩ<EFBFBD><E1B9A9>DLLʵ<4C><CAB5><EFBFBD>ߵ<EFBFBD><DFB5>õĺ<C3B5><C4BA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȫ<EFBFBD>ּ<EFBFBD>¼ʵ<C2BC><CAB5><EFBFBD><EFBFBD>ClassFactory<72><79><EFBFBD><EFBFBD><EFBFBD>õĴ<C3B5><C4B4><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ӱ<EFBFBD><D3B0>DLL<4C>Ƿ<EFBFBD><C7B7><EFBFBD><EFBFBD>ܱ<EFBFBD><DCB1><EFBFBD><EFBFBD>ڴ<EFBFBD><DAB4><EFBFBD>ж<EFBFBD>أ<EFBFBD><D8A3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʵ<EFBFBD><CAB5><EFBFBD><EFBFBD><EFBFBD>ڲ<EFBFBD>ʵ<EFBFBD>ּ<EFBFBD><D6BC><EFBFBD><EFBFBD><EFBFBD>ͬʱ<CDAC><CAB1><EFBFBD><EFBFBD>ȫ<EFBFBD>ּ<EFBFBD><D6BC><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
//<2F><><EFBFBD><EFBFBD>DLL<4C><4C><EFBFBD>п<EFBFBD><D0BF>ܻ<EFBFBD><DCBB><EFBFBD>ʵ<EFBFBD><CAB5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ڵ<EFBFBD>ʱ<EFBFBD><CAB1><EFBFBD><EFBFBD>ϵͳ<CFB5>Զ<EFBFBD>ǿ<EFBFBD><C7BF>ж<EFBFBD><D0B6>
|
|||
|
|
|||
|
//DLLȫ<4C><C8AB>ʹ<EFBFBD>ã<EFBFBD><C3A3><EFBFBD><EFBFBD>Ӷ<EFBFBD><D3B6><EFBFBD>ʵ<EFBFBD><CAB5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ô<EFBFBD><C3B4><EFBFBD>
|
|||
|
Int32 TCOM_AddClsidInstanceRefCount();
|
|||
|
|
|||
|
//DLLȫ<4C><C8AB>ʹ<EFBFBD>ã<EFBFBD><C3A3><EFBFBD><EFBFBD>ٶ<EFBFBD><D9B6><EFBFBD>ʵ<EFBFBD><CAB5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ô<EFBFBD><C3B4><EFBFBD>
|
|||
|
Int32 TCOM_DecClsidInstanceRefCount();
|
|||
|
|
|||
|
//DLLȫ<4C><C8AB>ʹ<EFBFBD>ã<EFBFBD><C3A3><EFBFBD><EFBFBD><EFBFBD>ClassFactory<72><79>Locked<65>Ĵ<EFBFBD><C4B4><EFBFBD>
|
|||
|
Int32 TCOM_AddCalssFactoryLockedCount();
|
|||
|
|
|||
|
//DLLȫ<4C><C8AB>ʹ<EFBFBD>ã<EFBFBD><C3A3><EFBFBD><EFBFBD><EFBFBD>ClassFactory<72><79>Locked<65>Ĵ<EFBFBD><C4B4><EFBFBD>
|
|||
|
Int32 TCOM_DecCalssFactoryLockedCount();
|
|||
|
|
|||
|
|
|||
|
//Ӧ<><D3A6>DLL<4C><4C>֧<EFBFBD><D6A7>TCOM<4F><4D>ʱ<EFBFBD><CAB1><EFBFBD>ṩ<EFBFBD><E1B9A9><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʹ<EFBFBD>õĺ<C3B5><C4BA><EFBFBD>
|
|||
|
|
|||
|
//Ӧ<>ø<EFBFBD><C3B8>ݸ<EFBFBD><DDB8><EFBFBD><EFBFBD><EFBFBD>CLSID<49><44>ClassFactory<72>ӿ<EFBFBD>IID<49><44><EFBFBD><EFBFBD>ClassFactory<72>Ľӿ<C4BD>
|
|||
|
//<2F><><EFBFBD><EFBFBD>ֵ<EFBFBD><D6B5><EFBFBD>ο<EFBFBD>TCOM_S_ϵ<5F>к궨<D0BA><EAB6A8>
|
|||
|
HRESULT TCOM_Srv_GetClassObject(TREFCLSID rclsid, TREFIID riid, LPVOID * ppv);
|
|||
|
|
|||
|
//Ӧ<><D3A6><EFBFBD>ṩ<EFBFBD>İ<EFBFBD>TCOM<4F><4D>Ϣ<EFBFBD><CFA2><EFBFBD>뵽ע<EBB5BD><D7A2><EFBFBD><EFBFBD>
|
|||
|
//<2F><><EFBFBD><EFBFBD>ֵ<EFBFBD><D6B5><EFBFBD>ο<EFBFBD>TCOM_S_ϵ<5F>к궨<D0BA><EAB6A8>
|
|||
|
HRESULT TCOM_Srv_RegisterServer(void);
|
|||
|
|
|||
|
//Ӧ<><D3A6><EFBFBD>ṩ<EFBFBD>İ<EFBFBD>TCOM<4F><4D>Ϣ<EFBFBD><CFA2>ע<EFBFBD><D7A2><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɾ<EFBFBD><C9BE>
|
|||
|
//<2F><><EFBFBD><EFBFBD>ֵ<EFBFBD><D6B5><EFBFBD>ο<EFBFBD>TCOM_S_ϵ<5F>к궨<D0BA><EAB6A8>
|
|||
|
HRESULT TCOM_Srv_UnregisterServer(void);
|
|||
|
|
|||
|
#endif //__TCOM_SUPPORT__
|
|||
|
|
|||
|
#endif //__TG3_APP_DLL_ENTRY_H__
|
|||
|
|
|||
|
|
|||
|
|