replace FMFD_DEFAULT with 0
Some checks failed
pyrite-dev/milsko/pipeline/head There was a failure building this commit
Some checks failed
pyrite-dev/milsko/pipeline/head There was a failure building this commit
This commit is contained in:
parent
981591120c
commit
fb6c7a4772
2 changed files with 1 additions and 2 deletions
|
|
@ -26,7 +26,6 @@
|
|||
#ifdef _MILSKO
|
||||
#include <windows.h>
|
||||
#include <mmsystem.h>
|
||||
#include <urlmon.h>
|
||||
#ifndef GWLP_USERDATA
|
||||
#define GWLP_USERDATA GWL_USERDATA
|
||||
#define GWLP_WNDPROC GWL_WNDPROC
|
||||
|
|
|
|||
|
|
@ -1086,7 +1086,7 @@ static HRESULT STDMETHODCALLTYPE GDIDT_Drop(IDropTarget* this_, IDataObject* pDa
|
|||
wsymtbl.DragQueryFileW(hDrop, i, path, MAX_PATH);
|
||||
wsymtbl.DragQueryFileA(hDrop, i, path_normal, MAX_PATH);
|
||||
hr = wsymtbl.FindMimeFromData(NULL, path, NULL, 0,
|
||||
NULL, FMFD_DEFAULT, &mime_type, 0x0);
|
||||
NULL, 0, &mime_type, 0x0);
|
||||
|
||||
mime_type_size = WideCharToMultiByte(CP_ACP, 0, mime_type, -1, NULL, 0, NULL, FALSE);
|
||||
mime_type_normal = malloc(sizeof(mime_type_size));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue