MCPcopy Create free account
hub / github.com/cinience/RedisStudio / QueryInterface

Method QueryInterface

DuiLib/Control/UIRichEdit.cpp:357–371  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

355
356
357HRESULT CTxtWinHost::QueryInterface(REFIID riid, void **ppvObject)
358{
359 HRESULT hr = E_NOINTERFACE;
360 *ppvObject = NULL;
361
362 if (IsEqualIID(riid, IID_IUnknown)
363 || IsEqualIID(riid, IID_ITextHost))
364 {
365 AddRef();
366 *ppvObject = (ITextHost *) this;
367 hr = S_OK;
368 }
369
370 return hr;
371}
372
373ULONG CTxtWinHost::AddRef(void)
374{

Callers 1

InitMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected