MCPcopy Create free account
hub / github.com/ashkulz/NppFTP / QueryInterface

Method QueryInterface

src/DragDropSupport.cpp:77–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75}
76
77STDMETHODIMP CDropTarget::QueryInterface(REFIID iid, void ** ppv) {
78 if(iid == IID_IUnknown || iid == IID_IDropTarget) {
79 *ppv = this;
80 AddRef();
81 return NOERROR;
82 }
83 *ppv = NULL;
84 return ResultFromScode(E_NOINTERFACE);
85}
86
87STDMETHODIMP_(ULONG) CDropTarget::AddRef(void) {
88 return ++m_refs;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected