mirror of
https://github.com/debauchee/barrier.git
synced 2026-02-10 13:45:49 +08:00
fixed: file is dragged twice by accident.
fixed: exe and lnk files dragged by accident. fixed: "dir" used instead of "filename".
This commit is contained in:
@@ -85,11 +85,9 @@ CDataHandlerExtension::Release()
|
||||
HRESULT STDMETHODCALLTYPE
|
||||
CDataHandlerExtension::Load(__RPC__in LPCOLESTR pszFileName, DWORD dwMode)
|
||||
{
|
||||
outputDebugStringF("synwinxt: > CDataHandlerExtension::Load\n");
|
||||
|
||||
outputDebugStringF("synwinxt: > CDataHandlerExtension::Load\n");
|
||||
std::string fileName = _bstr_t(pszFileName);
|
||||
setDraggingFilename(fileName.c_str());
|
||||
|
||||
outputDebugStringF("synwinxt: < CDataHandlerExtension::Load\n");
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user