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

Function IsDropFormatAvailable

Explorer++/Helper/DataExchangeHelper.cpp:79–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77}
78
79bool IsDropFormatAvailable(IDataObject *dataObject, const FORMATETC &formatEtc)
80{
81 FORMATETC formatEtcCopy = formatEtc;
82 HRESULT hr = dataObject->QueryGetData(&formatEtcCopy);
83 return (hr == S_OK);
84}
85
86FORMATETC GetDroppedFilesFormatEtc()
87{

Callers 1

ExtractBookmarkItemsMethod · 0.85

Calls 1

QueryGetDataMethod · 0.80

Tested by

no test coverage detected