本文整理汇总了C++中InlineIsEqualGUID函数的典型用法代码示例。如果您正苦于以下问题:C++ InlineIsEqualGUID函数的具体用法?C++ InlineIsEqualGUID怎么用?C++ InlineIsEqualGUID使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了InlineIsEqualGUID函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}