本文整理汇总了C++中PrxDllRegisterServer函数的典型用法代码示例。如果您正苦于以下问题:C++ PrxDllRegisterServer函数的具体用法?C++ PrxDllRegisterServer怎么用?C++ PrxDllRegisterServer使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了PrxDllRegisterServer函数的17个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C++代码示例。
示例1: DllRegisterServer
STDAPI DllRegisterServer(void)
{
HRESULT hresult;
hresult = S_OK;
#ifdef _MERGE_PROXYSTUB
hresult = PrxDllRegisterServer();
#endif
if (SUCCEEDED(hresult)) {
hresult = _Module.RegisterServer(TRUE);
}
// ****************************************************************************
// ****************************************************************************
// !!!! Temporary code: registrating the categories should be done by the setup
// ****************************************************************************
HRESULT hr = Create4C_CATIDs();
if (FAILED(hr)) {
return hr;
}
//if (SUCCEEDED(hresult)) {
// hresult = RegisterCategory();
//}
// end temp code
// ****************************************************************************
// ****************************************************************************
return hresult;
}
开发者ID:LM25TTD,项目名称:ATCMcontrol_Engineering,代码行数:29,代码来源:StandardProjectWizardApp.cpp
示例2: DllUnregisterServer
STDAPI DllUnregisterServer(void)
{
HRESULT hr = _AtlModule.DllUnregisterServer();
#ifdef _MERGE_PROXYSTUB
if (FAILED(hr))
return hr;
hr = PrxDllRegisterServer();
if (FAILED(hr))
return hr;
hr = PrxDllUnregisterServer();
#endif
return hr;
}
开发者ID:Apple-FOSS-Mirror,项目名称:mDNSResponder,代码行数:25,代码来源:DLLX.cpp
示例3: DllRegisterServer
// DllRegisterServer - Adds entries to the system registry.
STDAPI DllRegisterServer(void)
{
// registers object, typelib and all interfaces in typelib
HRESULT hr = _AtlModule.DllRegisterServer();
if (FAILED(hr))
return hr;
hr = PrxDllRegisterServer();
return hr;
}
开发者ID:pintee,项目名称:Emergence-v1.0,代码行数:10,代码来源:EmergenceHandlers.cpp
示例4: DllRegisterServer
// DllRegisterServer - 向系统注册表中添加项。
STDAPI DllRegisterServer(void)
{
// 注册对象、类型库和类型库中的所有接口
HRESULT hr = _AtlModule.DllRegisterServer();
if (FAILED(hr))
return hr;
hr = PrxDllRegisterServer();
return hr;
}
开发者ID:niumuguang,项目名称:daqo,代码行数:10,代码来源:daqoHandlers.cpp
示例5: DllRegisterServer
STDAPI DllRegisterServer(void)
{
#ifdef _MERGE_PROXYSTUB
HRESULT hRes = PrxDllRegisterServer();
if (FAILED(hRes))
return hRes;
#endif
// Registriert Objekt, Typelib und alle Schnittstellen in Typelib
return _Module.RegisterServer(TRUE);
}
开发者ID:gsaralji,项目名称:TRiAS,代码行数:10,代码来源:edbs.cpp
示例6: DllRegisterServer
// DllRegisterServer - 将项添加到系统注册表
STDAPI DllRegisterServer(void)
{
// 注册对象、类型库和类型库中的所有接口
HRESULT hr = _AtlModule.DllRegisterServer();
#ifdef _MERGE_PROXYSTUB
if (FAILED(hr))
return hr;
hr = PrxDllRegisterServer();
#endif
return hr;
}
开发者ID:lozpeng,项目名称:applesales,代码行数:12,代码来源:usStyles.cpp
示例7: DllRegisterServer
// DllRegisterServer - добавляет записи в системный реестр.
STDAPI DllRegisterServer(void)
{
// регистрирует объект, библиотеку типов и все интерфейсы в библиотеке типов
HRESULT hr = _AtlModule.DllRegisterServer();
#ifdef _MERGE_PROXYSTUB
if (FAILED(hr))
return hr;
hr = PrxDllRegisterServer();
#endif
return hr;
}
开发者ID:mightymamont,项目名称:Demos,代码行数:12,代码来源:COM-server.cpp
示例8: DllRegisterServer
// DllRegisterServer - エントリをシステム レジストリに追加します。
STDAPI DllRegisterServer(void)
{
// オブジェクト、タイプ ライブラリおよびタイプ ライブラリ内のすべてのインターフェイスを登録します
HRESULT hr = _AtlModule.DllRegisterServer();
#ifdef _MERGE_PROXYSTUB
if (FAILED(hr))
return hr;
hr = PrxDllRegisterServer();
#endif
return hr;
}
开发者ID:arton,项目名称:RScript22,代码行数:12,代码来源:RScript22.cpp
示例9: DllRegisterServer
STDAPI DllRegisterServer(void)
{
//MessageBox(NULL, L"df", L"df", NULL);
HRESULT hr = _AtlModule.DllRegisterServer();
#ifdef _MERGE_PROXYSTUB
if (FAILED(hr))
return hr;
hr = PrxDllRegisterServer();
#endif
return hr;
}
开发者ID:AdolphLua,项目名称:vld,代码行数:11,代码来源:ComTest.cpp
示例10: DllUnregisterServer
// DllUnregisterServer - 移除系统注册表中的项。
STDAPI DllUnregisterServer(void)
{
HRESULT hr = _AtlModule.DllUnregisterServer();
if (FAILED(hr))
return hr;
hr = PrxDllRegisterServer();
if (FAILED(hr))
return hr;
hr = PrxDllUnregisterServer();
return hr;
}
开发者ID:niumuguang,项目名称:daqo,代码行数:12,代码来源:daqoHandlers.cpp
示例11: DllRegisterServer
// DllRegisterServer - Adds entries to the system registry
STDAPI DllRegisterServer(void)
{
// registers object, typelib and all interfaces in typelib
HRESULT hr = _AtlModule.DllRegisterServer();
#ifdef _MERGE_PROXYSTUB
if (FAILED(hr))
return hr;
hr = PrxDllRegisterServer();
#endif
return hr;
}
开发者ID:ichengzi,项目名称:UDSOnlineEditor,代码行数:12,代码来源:OEGui.cpp
示例12: DllRegisterServer
/*----------------------------------------------------------------------------------------------
Registers the DLL. This function is required by COM and must be exported from the DLL.
----------------------------------------------------------------------------------------------*/
STDAPI DLLEXPORT__ DllRegisterServer(void)
{
ENTER_DLL();
ModuleEntry::ModuleAddRef();
HRESULT hr = ModuleEntry::ModuleRegisterServer();
#ifdef _MERGE_PROXYSTUB
if (SUCCEEDED(hr) && !ModuleEntry::PerUserRegistration())
hr = PrxDllRegisterServer();
#endif
ModuleEntry::ModuleRelease();
return hr;
}
开发者ID:agran147,项目名称:FieldWorks,代码行数:15,代码来源:ModuleEntry.cpp
示例13: DllRegisterServer
STDAPI DllRegisterServer(void)
{
#ifdef _MERGE_PROXYSTUB
RETURN_FAILED(PrxDllRegisterServer());
#endif
// registers object, typelib and all interfaces in typelib
RETURN_FAILED(_Module.RegisterServer(TRUE));
// Register the component category
return RegisterComponentCategory(CATID_TCObj,
L"Allegiance Test Common Objects");
}
开发者ID:borgified,项目名称:Allegiance,代码行数:13,代码来源:TCObj.cpp
示例14: DllRegisterServer
// DllRegisterServer - Adds entries to the system registry
STDAPI DllRegisterServer(void)
{
// registers object, typelib and all interfaces in typelib
HRESULT hr = _AtlModule.DllRegisterServer();
#ifdef _MERGE_PROXYSTUB
if (FAILED(hr))
return hr;
hr = PrxDllRegisterServer();
#endif
// Approve this shell extension
Approve(_T("ImageWalker.FileMenu"), CLSID_ImageWalkerFileMenu);
Approve(_T("ImageWalker.FolderMenu"), CLSID_ImageWalkerFolderMenu);
return hr;
}
开发者ID:ZacWalk,项目名称:ImageWalker,代码行数:17,代码来源:ShellExtensions.cpp
示例15: DllRegisterServer
STDAPI DllRegisterServer(void)
{
HRESULT hresult;
hresult = S_OK;
#ifdef _MERGE_PROXYSTUB
hresult = PrxDllRegisterServer();
#endif
if (SUCCEEDED(hresult)) {
hresult = _Module.RegisterServer(TRUE);
}
if (SUCCEEDED(hresult)) {
hresult = RegisterCategory();
}
return hresult;
}
开发者ID:LM25TTD,项目名称:ATCMcontrol_Engineering,代码行数:16,代码来源:TestProjectWizard.cpp
示例16: DllRegisterServer
// DllRegisterServer - Adds entries to the system registry
STDAPI DllRegisterServer(void)
{
if (!CanRegisterPerfCounters())
{
return S_FALSE;
}
HRESULT hres = MYATL::RegisterPerfMon();
if (hres != S_OK)
return hres;
// registers object, typelib and all interfaces in typelib
HRESULT hr = _AtlModule.DllRegisterServer();
#ifdef _MERGE_PROXYSTUB
if (FAILED(hr))
return hr;
hr = PrxDllRegisterServer();
#endif
return hr;
}
开发者ID:UIKit0,项目名称:IISxpress,代码行数:20,代码来源:IISxpressPerf.cpp
示例17: DllUnregisterServer
// DllUnregisterServer - Removes entries from the system registry
STDAPI DllUnregisterServer(void)
{
if (!CanRegisterPerfCounters())
{
return S_FALSE;
}
HRESULT hres = MYATL::UnregisterPerfMon();
if (hres != S_OK)
return hres;
HRESULT hr = _AtlModule.DllUnregisterServer();
#ifdef _MERGE_PROXYSTUB
if (FAILED(hr))
return hr;
hr = PrxDllRegisterServer();
if (FAILED(hr))
return hr;
hr = PrxDllUnregisterServer();
#endif
return hr;
}
开发者ID:UIKit0,项目名称:IISxpress,代码行数:22,代码来源:IISxpressPerf.cpp
注:本文中的PrxDllRegisterServer函数示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论