D27951: Allow users to change dropAction to MoveAction through kdeglobals
Stefan BrĂ¼ns
noreply at phabricator.kde.org
Wed Apr 1 18:56:01 BST 2020
bruns added a comment.
In D27951#639352 <https://phabricator.kde.org/D27951#639352>, @meven wrote:
> In D27951#639350 <https://phabricator.kde.org/D27951#639350>, @meven wrote:
>
> > > Another question, will UDSEntry::UDS_DEVICE_ID be available on Windows?
> >
> > I am not a Windows specialist but I imagine we could hack together an equivalent solution (I am saying this should be possible not that we will implement, feel free to give it a try in file_win.cpp ;) ).
>
>
> dwVolumeSerialNumber of https://docs.microsoft.com/fr-fr/windows/win32/api/fileapi/ns-fileapi-by_handle_file_information seems promising
> https://docs.microsoft.com/fr-fr/windows/win32/api/fileapi/nf-fileapi-getfileinformationbyhandle?redirectedfrom=MSDN
Or https://docs.microsoft.com/en-us/windows/win32/api/winbase/ns-winbase-file_id_info. May be a little bit cheapers, as it retrieves less information.
REPOSITORY
R241 KIO
REVISION DETAIL
https://phabricator.kde.org/D27951
To: trmdi, ngraham, dfaure, meven, #vdg, davidedmundson
Cc: bruns, elvisangelaccio, davidedmundson, meven, kde-frameworks-devel, LeGast00n, cblack, GB_2, michaelh, ngraham
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20200401/42104dc1/attachment.html>
More information about the Kde-frameworks-devel
mailing list