• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

C++ InlineIsEqualGUID函数代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了C++中InlineIsEqualGUID函数的典型用法代码示例。如果您正苦于以下问题:C++ InlineIsEqualGUID函数的具体用法?C++ InlineIsEqualGUID怎么用?C++ InlineIsEqualGUID使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。



在下文中一共展示了InlineIsEqualGUID函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C++代码示例。

示例1: InterfaceSupportsErrorInfo

STDMETHODIMP CTestSuiteItemCollection::InterfaceSupportsErrorInfo(REFIID riid)
{
	static const IID* arr[] = 
	{
		&IID_ITestSuiteItemCollection
	};
	for (int i=0; i < sizeof(arr) / sizeof(arr[0]); i++)
	{
		if (InlineIsEqualGUID(*arr[i],riid))
			return S_OK;
	}
	return S_FALSE;
}
开发者ID:dineshkummarc,项目名称:TestRunner_automation,代码行数:13,代码来源:CTestSuiteItemCollection.cpp


示例2: InterfaceSupportsErrorInfo

STDMETHODIMP CPigMissionParams::InterfaceSupportsErrorInfo(REFIID riid)
{
  static const IID* arr[] = 
  {
    &IID_IPigMissionParams,
  };
  for (int i = 0; i < sizeofArray(arr); ++i)
  {
    if (InlineIsEqualGUID(*arr[i], riid))
      return S_OK;
  }
  return S_FALSE;
}
开发者ID:borgified,项目名称:Allegiance,代码行数:13,代码来源:PigMissionParams.cpp


示例3: InterfaceSupportsErrorInfo

STDMETHODIMP CFusionUniversalProbeSetResultsCOM::InterfaceSupportsErrorInfo(REFIID riid)
{
	static const IID* arr[] = 
	{
		&IID_IFusionUniversalProbeSetResults
	};

	for (int i=0; i < sizeof(arr) / sizeof(arr[0]); i++)
	{
		if (InlineIsEqualGUID(*arr[i],riid))
			return S_OK;
	}
	return S_FALSE;
}
开发者ID:HenrikBengtsson,项目名称:Affx-Fusion-SDK,代码行数:14,代码来源:FusionUniversalProbeSetResultsCOM.cpp


示例4: InterfaceSupportsErrorInfo

STDMETHODIMP nsXPCDispTestNoIDispatch::InterfaceSupportsErrorInfo(REFIID riid)
{
    static const IID* arr[] = 
    {
        &IID_nsIXPCDispTestNoIDispatch,
    };

    for (int i=0;i<sizeof(arr)/sizeof(arr[0]);i++)
    {
        if (InlineIsEqualGUID(*arr[i],riid))
            return S_OK;
    }
    return S_FALSE;
}
开发者ID:KWMalik,项目名称:university-tasks,代码行数:14,代码来源:nsXPCDispTestNoIDispatch.cpp


示例5: InterfaceSupportsErrorInfo

STDMETHODIMP CProviderInfo::InterfaceSupportsErrorInfo(REFIID riid)
{
	static const IID* arr[] = 
	{
		&__uuidof(IProviderInfo)
	};

	for (int i=0; i < sizeof(arr) / sizeof(arr[0]); i++)
	{
		if (InlineIsEqualGUID(*arr[i],riid))
			return S_OK;
	}
	return S_FALSE;
}
开发者ID:AlexS2172,项目名称:IVRM,代码行数:14,代码来源:ProviderInfo.cpp


示例6: InterfaceSupportsErrorInfo

STDMETHODIMP CInternetFileManagerObject::InterfaceSupportsErrorInfo(REFIID riid)
{
	static const IID* arr[] = 
	{
		&IID_IInternetFileManager,
	};

	for (int i=0;i<sizeof(arr)/sizeof(arr[0]);i++)
	{
		if (InlineIsEqualGUID(*arr[i],riid))
			return S_OK;
	}
	return S_FALSE;
}
开发者ID:opensim4opencog,项目名称:PrologVirtualWorlds,代码行数:14,代码来源:inetmgro.cpp


示例7: GetTargetPixelFormat

bool GetTargetPixelFormat(const GUID* pSourceFormat, GUID* pTargetFormat)
{
	*pTargetFormat = *pSourceFormat;

	for (size_t i = 0; i < _countof(g_WICConvert); ++i)
	{
		if (InlineIsEqualGUID(g_WICConvert[i].source, *pSourceFormat))
		{
			*pTargetFormat = g_WICConvert[i].target;
			return true;
		}
	}
	return false;
}
开发者ID:AhmedSaid,项目名称:DirectX-Graphics-Samples,代码行数:14,代码来源:Util.cpp


示例8: DllGetClassObject

STDAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, void** ppv)
{
	HRESULT hr;
	RUGE::CInputClassFactory *pFactory;

	if (!InlineIsEqualGUID(rclsid, __uuidof(RUGE::CInputImpl))) return CLASS_E_CLASSNOTAVAILABLE;
	if (IsBadWritePtr(ppv, sizeof(void*))) return E_POINTER;
	*ppv=NULL;
	pFactory=new RUGE::CInputClassFactory;
	pFactory->AddRef();
	hr=pFactory->QueryInterface(riid, ppv);
	pFactory->Release();
	return hr;
}
开发者ID:releed,项目名称:ruge,代码行数:14,代码来源:Main.cpp


示例9: InterfaceSupportsErrorInfo

STDMETHODIMP SOComWindowPeer::InterfaceSupportsErrorInfo(REFIID riid)
{
    static const IID* arr[] =
    {
        &IID_ISOComWindowPeer,
    };

    for (int i=0;i<SAL_N_ELEMENTS(arr);i++)
    {
        if (InlineIsEqualGUID(*arr[i],riid))
            return S_OK;
    }
    return S_FALSE;
}
开发者ID:CaoMomo,项目名称:core,代码行数:14,代码来源:SOComWindowPeer.cpp


示例10: InterfaceSupportsErrorInfo

STDMETHODIMP CLarrysOpenOfficeandStarOfficeIndexerObj::InterfaceSupportsErrorInfo(REFIID riid)
{
	static const IID* arr[] = 
	{
		&IID_ILarrysOpenOfficeandStarOfficeIndexerObj
	};

	for (int i=0; i < sizeof(arr) / sizeof(arr[0]); i++)
	{
		if (InlineIsEqualGUID(*arr[i],riid))
			return S_OK;
	}
	return S_FALSE;
}
开发者ID:lg,项目名称:gd-openoffice-indexer,代码行数:14,代码来源:LarrysOpenOfficeandStarOfficeIndexerObj.cpp


示例11: InterfaceSupportsErrorInfo

STDMETHODIMP DragPoint::InterfaceSupportsErrorInfo(REFIID riid)
{
   static const IID* arr[] =
   {
      &IID_IControlPoint,
   };

   for (size_t i = 0; i < sizeof(arr) / sizeof(arr[0]); i++)
   {
      if (InlineIsEqualGUID(*arr[i], riid))
         return S_OK;
   }
   return S_FALSE;
}
开发者ID:djrobx,项目名称:vpinballx,代码行数:14,代码来源:dragpoint.cpp


示例12: InterfaceSupportsErrorInfo

STDMETHODIMP CSolidworksCrawlPlugin::InterfaceSupportsErrorInfo(REFIID riid)
{
	static const IID* const arr[] = 
	{
		&IID_ISolidworksCrawlPlugin
	};

	for (int i=0; i < sizeof(arr) / sizeof(arr[0]); i++)
	{
		if (InlineIsEqualGUID(*arr[i],riid))
			return S_OK;
	}
	return S_FALSE;
}
开发者ID:jasonnicholson,项目名称:Google-Desktop-Solidworks-Plugin,代码行数:14,代码来源:SolidworksCrawlPlugin.cpp


示例13: InterfaceSupportsErrorInfo

STDMETHODIMP CIntelMediaServerConfig::InterfaceSupportsErrorInfo(REFIID riid)
{
	static const IID* arr[] = 
	{
		&IID_IIntelMediaServerConfig
	};

	for (int i=0; i < sizeof(arr) / sizeof(arr[0]); i++)
	{
		if (InlineIsEqualGUID(*arr[i],riid))
			return S_OK;
	}
	return S_FALSE;
}
开发者ID:GufCab,项目名称:Semester-Projekt---Test-Kode,代码行数:14,代码来源:IntelMediaServerConfig.cpp


示例14: InterfaceSupportsErrorInfo

/////////////////////////////////////////////////////////////////////////////
// CHyperFeedStructureProviderEx
STDMETHODIMP CHyperFeedStructureProviderEx::InterfaceSupportsErrorInfo(REFIID riid)
{
	static const IID* arr[] = 
	{
		&IID_IStructureProvider,
		&IID_IStructureProvider2
	};
	for (int i=0; i < sizeof(arr) / sizeof(arr[0]); i++)
	{
		if (InlineIsEqualGUID(*arr[i],riid))
			return S_OK;
	}
	return S_FALSE;
}
开发者ID:AlexS2172,项目名称:IVRMstandard,代码行数:16,代码来源:HyperFeedStructureProviderEx.cpp


示例15: InterfaceSupportsErrorInfo

STDMETHODIMP CBondiWidgetPreference::InterfaceSupportsErrorInfo(REFIID riid)
{
	static const IID* arr[] = 
	{
		&IID_IBondiWidgetPreference
	};

	for (int i=0; i < sizeof(arr) / sizeof(arr[0]); i++)
	{
		if (InlineIsEqualGUID(*arr[i],riid))
			return S_OK;
	}
	return S_FALSE;
}
开发者ID:AlexWei2013,项目名称:Webinos-Platform,代码行数:14,代码来源:BondiWidgetPreference.cpp


示例16: InterfaceSupportsErrorInfo

STDMETHODIMP CEarthViewer::InterfaceSupportsErrorInfo(REFIID riid)
{
	static const IID* const arr[] = 
	{
		&IID_IEarthViewer,
		&IID_IEarthDispatch
	};

	for (int i=0; i < sizeof(arr) / sizeof(arr[0]); i++)
	{
		if (InlineIsEqualGUID(*arr[i],riid))
			return S_OK;
	}
	return S_FALSE;
}
开发者ID:dlsyaim,项目名称:osgEarthX,代码行数:15,代码来源:EarthViewer.cpp


示例17: rs

STDMETHODIMP CDVCompare::InterfaceSupportsErrorInfo(REFIID riid)
{
	CResourceSwapper rs( _Module.m_hInstResource );

	static const IID* arr[] = 
	{
		&IID_ICommand
	};
	for (int i=0; i < sizeof(arr) / sizeof(arr[0]); i++)
	{
		if (InlineIsEqualGUID(*arr[i],riid))
			return S_OK;
	}
	return S_FALSE;
}
开发者ID:killbug2004,项目名称:WSProf,代码行数:15,代码来源:DVCompare.cpp


示例18: InterfaceSupportsErrorInfo

STDMETHODIMP CContextMenuHandler::InterfaceSupportsErrorInfo(REFIID riid)
{
	static const IID* arr[] = 
	{
		&IID_IShellExtInit,
		&IID_IContextMenu
	};

	for (int i=0; i < sizeof(arr) / sizeof(arr[0]); i++)
	{
		if (InlineIsEqualGUID(*arr[i],riid))
			return S_OK;
	}
	return S_FALSE;
}
开发者ID:mirror,项目名称:console-devel,代码行数:15,代码来源:ContextMenuHandler.cpp


示例19: if

STDMETHODIMP
sbWindowsFormatter::QueryInterface(REFIID aIID,
                                   void** aInterface)
{
  // Validate arguments.
  if (IsBadWritePtr(aInterface, sizeof(void*)))
    return E_POINTER;

  // Initialize interface to null.
  *aInterface = NULL;

  // Return requested interface.
  if (InlineIsEqualGUID(aIID, IID_IUnknown))
    *aInterface = static_cast<IUnknown*>(this);
  else if (InlineIsEqualGUID(aIID, IID_sbIWindowsFormatter))
    *aInterface = static_cast<sbIWindowsFormatter*>(this);
  else
    return E_NOINTERFACE;

  // Add a reference to the interface.
  (static_cast<IUnknown*>(*aInterface))->AddRef();

  return S_OK;
}
开发者ID:AntoineTurmel,项目名称:nightingale-hacking,代码行数:24,代码来源:sbWindowsFormatter.cpp


示例20: InterfaceSupportsErrorInfo

STDMETHODIMP CComPolygon::InterfaceSupportsErrorInfo(REFIID riid)
{
	static const IID* arr[] = 
	{
		&IID_IComPolygon,
        &IID_IAcadObject,
        &IID_IAcadEntity,
        &IID_IOPMPropertyExpander
	};
	for (int i=0;i<sizeof(arr)/sizeof(arr[0]);i++)
	{
		if (InlineIsEqualGUID(*arr[i],riid))
			return S_OK;
	}
	return S_FALSE;
}
开发者ID:FengLuanShuangWu,项目名称:AutoCADPlugin-HeatSource,代码行数:16,代码来源:compolygon.cpp



注:本文中的InlineIsEqualGUID函数示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C++ InnerProduct函数代码示例发布时间:2022-05-30
下一篇:
C++ InitializeSystem函数代码示例发布时间:2022-05-30
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap