本文整理汇总了C++中QUERYINTERFACE函数的典型用法代码示例。如果您正苦于以下问题:C++ QUERYINTERFACE函数的具体用法?C++ QUERYINTERFACE怎么用?C++ QUERYINTERFACE使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了QUERYINTERFACE函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C++代码示例。
示例1: QUERYINTERFACE
//接口查询
void * __cdecl CTableFrameSink::QueryInterface(const IID & Guid, DWORD dwQueryVer)
{
QUERYINTERFACE(ITableFrameSink,Guid,dwQueryVer);
QUERYINTERFACE(ITableUserAction,Guid,dwQueryVer);
QUERYINTERFACE_IUNKNOWNEX(ITableFrameSink,Guid,dwQueryVer);
return NULL;
}
开发者ID:bzh1113,项目名称:Ratix,代码行数:8,代码来源:TableFrameSink.cpp示例2: QUERYINTERFACE
//接口查询
VOID * CCustomFaceManager::QueryInterface(REFGUID Guid, DWORD dwQueryVer)
{
QUERYINTERFACE(IDownLoadSink,Guid,dwQueryVer);
QUERYINTERFACE(ICustomFaceManager,Guid,dwQueryVer);
QUERYINTERFACE_IUNKNOWNEX(ICustomFaceManager,Guid,dwQueryVer);
return NULL;
}
开发者ID:Michael-Z,项目名称:qipai-game,代码行数:8,代码来源:CustomFaceManager.cpp示例3: QUERYINTERFACE
//接口查询
void * __cdecl CChannelService::QueryInterface(const IID & Guid, DWORD dwQueryVer)
{
QUERYINTERFACE(IChannelService,Guid,dwQueryVer);
QUERYINTERFACE(IChannelMessageSink,Guid,dwQueryVer);
QUERYINTERFACE_IUNKNOWNEX(IChannelService,Guid,dwQueryVer);
return NULL;
}
开发者ID:codercold,项目名称:whgame,代码行数:8,代码来源:ChannelService.cpp示例4: QUERYINTERFACE
//接口查询
VOID * CServerUserItem::QueryInterface(REFGUID Guid, DWORD dwQueryVer)
{
QUERYINTERFACE(IServerUserItem,Guid,dwQueryVer);
QUERYINTERFACE(IServerUserService,Guid,dwQueryVer);
QUERYINTERFACE_IUNKNOWNEX(IServerUserItem,Guid,dwQueryVer);
return NULL;
}
开发者ID:woshichuanqilz,项目名称:Gameplaza_Work,代码行数:8,代码来源:ServerUserManager.cpp示例5: QUERYINTERFACE
//基础接口
//////////////////////////////////////////////////////////////////////////
//接口查询
void * __cdecl CTCPSocketService::QueryInterface(const IID & Guid, DWORD dwQueryVer)
{
QUERYINTERFACE(ITCPSocketService, Guid, dwQueryVer);
QUERYINTERFACE(IQueueServiceSink, Guid, dwQueryVer);
QUERYINTERFACE_IUNKNOWNEX(ITCPSocketService, Guid, dwQueryVer);
return NULL;
}
开发者ID:vsanth,项目名称:kkj,代码行数:10,代码来源:TCPSocketService.cpp示例6: QUERYINTERFACE
//接口查询
void * __cdecl CDataBaseEngine::QueryInterface(const IID & Guid, DWORD dwQueryVer)
{
QUERYINTERFACE(IDataBaseEngine, Guid, dwQueryVer);
QUERYINTERFACE(IQueueServiceSink, Guid, dwQueryVer);
QUERYINTERFACE_IUNKNOWNEX(IDataBaseEngine, Guid, dwQueryVer);
return NULL;
}
开发者ID:anyboo,项目名称:project,代码行数:8,代码来源:DataBase.cpp示例7: QUERYINTERFACE
//接口查询
void * __cdecl CCenterSocket::QueryInterface(const IID & Guid, DWORD dwQueryVer)
{
QUERYINTERFACE(IClientSocketSink,Guid,dwQueryVer);
QUERYINTERFACE(IAsynchronismEngineSink,Guid,dwQueryVer);
QUERYINTERFACE_IUNKNOWNEX(IAsynchronismEngineSink,Guid,dwQueryVer);
return NULL;
}
开发者ID:uwitec,项目名称:01technology,代码行数:8,代码来源:CenterSocket.cpp示例8: QUERYINTERFACE
//接口查询
void * __cdecl CTableFrame::QueryInterface(const IID & Guid, DWORD dwQueryVer)
{
QUERYINTERFACE(ITableFrame,Guid,dwQueryVer);
QUERYINTERFACE(ITableFrameManager,Guid,dwQueryVer);
QUERYINTERFACE_IUNKNOWNEX(ITableFrameManager,Guid,dwQueryVer);
return NULL;
}
开发者ID:275958081,项目名称:netfox,代码行数:8,代码来源:TableFrame.cpp示例9: QUERYINTERFACE
//接口查询
void * __cdecl CAttributeManager::QueryInterface(const IID & Guid, DWORD dwQueryVer)
{
QUERYINTERFACE(IAttributeManager,Guid,dwQueryVer);
QUERYINTERFACE(IAttributeService,Guid,dwQueryVer);
QUERYINTERFACE_IUNKNOWNEX(IAttributeManager,Guid,dwQueryVer);
return NULL;
}
开发者ID:duzhi5368,项目名称:FKChessCards,代码行数:8,代码来源:Attribute.cpp示例10: QUERYINTERFACE
//接口查询
VOID * CGameFrameWnd::QueryInterface(REFGUID Guid, DWORD dwQueryVer)
{
QUERYINTERFACE(IGameFrameWnd,Guid,dwQueryVer);
QUERYINTERFACE(IFlashControlSink,Guid,dwQueryVer);
QUERYINTERFACE(IClientPropertySink,Guid,dwQueryVer);
QUERYINTERFACE_IUNKNOWNEX(IGameFrameWnd,Guid,dwQueryVer);
return NULL;
}
开发者ID:lonyzone,项目名称:oathx-ogrex-editor,代码行数:9,代码来源:GameFrameWnd.cpp示例11: QUERYINTERFACE
//接口查询
void * __cdecl CPlazaViewItem::QueryInterface(const IID & Guid, DWORD dwQueryVer)
{
QUERYINTERFACE(IViewItem,Guid,dwQueryVer);
QUERYINTERFACE(IPlazaViewItem,Guid,dwQueryVer);
QUERYINTERFACE(IClientSocketSink,Guid,dwQueryVer);
QUERYINTERFACE_IUNKNOWNEX(IViewItem,Guid,dwQueryVer);
return NULL;
}
开发者ID:275958081,项目名称:netfox,代码行数:9,代码来源:PlazaViewItem.cpp示例12: ASSERT_VALID
void COleClientItem::DeactivateUI()
{
ASSERT_VALID(this);
ASSERT(m_lpObject != NULL);
ASSERT(GetItemState() == activeUIState);
// get IOleInPlaceObject interface
LPOLEINPLACEOBJECT lpInPlaceObject =
QUERYINTERFACE(m_lpObject, IOleInPlaceObject);
if (lpInPlaceObject == NULL)
{
Close(); // handle rare failure cases by calling Close
return;
}
// call IOleInPlaceObject::UIDeactivate
m_scLast = lpInPlaceObject->UIDeactivate();
lpInPlaceObject->Release();
if (FAILED(m_scLast))
{
Close(); // handle rare failure cases by calling Close
return;
}
if (m_nItemState == activeUIState)
m_nItemState = activeState; // just in case server has crashed
}
开发者ID:anyue100,项目名称:winscp,代码行数:26,代码来源:olecli2.cpp示例13: sendRunEclExForm
int CEclDirectSoapBindingEx::onGet(CHttpRequest* request, CHttpResponse* response)
{
const char *path = request->queryPath();
if (strieq(path, "/EclDirect/RunEclEx/Form"))
return sendRunEclExForm(*request->queryContext(), request, response);
if(strieq(path, "/EclDirect/RunEclEx/DisplayResult"))
{
IEspContext& context = *request->queryContext();
request->queryParameters()->setProp("display_xslt", 1);
CRunEclExRequest reqObj(&context, "EclDirect", request->queryParameters(), request->queryAttachments());
CRunEclExResponse respObj("EclDirect");
theService->onRunEclEx(context, *QUERYINTERFACE(&reqObj, IEspRunEclExRequest), *QUERYINTERFACE(&respObj, IEspRunEclExResponse));
const char *result = respObj.getResults();
if (result && *result)
{
response->setContent(result);
response->setContentType(runEclExFormatMimeType(reqObj.getFormat()));
}
else
{
response->setContent("No result in Ecl execution.");
response->setContentType("text/html");
}
response->setStatus(HTTP_STATUS_OK);
response->send();
return 0;
}
return CEclDirectSoapBinding::onGet(request,response);
}
开发者ID:AsherBond,项目名称:HPCC-Platform,代码行数:34,代码来源:EclDirectService.cpp示例14: DBGLOG
IHqlExpression * XmlEclRepository::doLoadSymbol(IPropertyTree * repository, IAtom * modname, IAtom * attrname)
{
StringBuffer s;
IPropertyTree* module = repository->queryPropTree(s.append("./Module[@name=\"").append(*modname).append("\"]").str());
if(!module)
{
if (logging())
DBGLOG("No data for module %s",modname->getAtomNamePtr());
return 0;
}
int access = module->getPropInt("@access",cs_full);
s.clear().append("./Attribute[@name=\"").append(*attrname).append("\"]");
Owned<IPropertyTreeIterator> it = module->getElements(s.str());
for(it->first();it->isValid();it->next())
{
Owned<IHqlExpression> item = toNamedSymbol(&it->query(), *modname,access);
CHqlNamedSymbol* cur = QUERYINTERFACE(item.get(), CHqlNamedSymbol);
if(cur)
return LINK(cur);
}
return 0;
}
开发者ID:EwokVillage,项目名称:HPCC-Platform,代码行数:25,代码来源:hqlremote.cpp示例15: ASSERT_VALID
void COleClientItem::SetLinkUpdateOptions(OLEUPDATE dwUpdateOpt)
{
ASSERT_VALID(this);
ASSERT(m_lpObject != NULL);
LPOLELINK lpOleLink = QUERYINTERFACE(m_lpObject, IOleLink);
ASSERT(lpOleLink != NULL); // perhaps not a link?
SCODE sc = lpOleLink->SetUpdateOptions(dwUpdateOpt);
lpOleLink->Release();
CheckGeneral(sc);
}
开发者ID:shuowen,项目名称:OpenNT,代码行数:12,代码来源:olecli3.cpp本文标签属性:
示例:示例英语
代码:代码生成器
QUERYINTERFACE:QUERYINTERFACE