MCPcopy Create free account
hub / github.com/derceg/explorerplusplus / QueryGetData

Method QueryGetData

Explorer++/Helper/iDataObject.cpp:248–266  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

246}
247
248HRESULT __stdcall DataObject::QueryGetData(FORMATETC *pFormatEtc)
249{
250 if(pFormatEtc == NULL)
251 {
252 return E_INVALIDARG;
253 }
254
255 for(const auto &dao : m_daoList)
256 {
257 if(dao.fe.cfFormat == pFormatEtc->cfFormat &&
258 dao.fe.tymed & pFormatEtc->tymed &&
259 dao.fe.dwAspect == pFormatEtc->dwAspect)
260 {
261 return S_OK;
262 }
263 }
264
265 return DV_E_FORMATETC;
266}
267
268HRESULT __stdcall DataObject::GetCanonicalFormatEtc(FORMATETC *pFormatEtcIn,FORMATETC *pFormatEtcOut)
269{

Callers 7

DragEnterMethod · 0.80
DragEnterMethod · 0.80
DragEnterMethod · 0.80
DragEnterMethod · 0.80
IsDropFormatAvailableFunction · 0.80
TEST_FFunction · 0.80

Calls

no outgoing calls

Tested by 1

TEST_FFunction · 0.64