Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
windows:mingw:win64
mingw64-gnome-vfs2
gnome-vfs-2.24.1-w2k.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gnome-vfs-2.24.1-w2k.patch of Package mingw64-gnome-vfs2
Index: libgnomevfs/gnome-vfs-volume-monitor.c =================================================================== --- libgnomevfs/gnome-vfs-volume-monitor.c (revision 5549) +++ libgnomevfs/gnome-vfs-volume-monitor.c (working copy) @@ -316,7 +316,10 @@ wchar_t path_names[MAX_PATH*10]; DWORD path_names_len; - if (GetVolumePathNamesForVolumeNameW (volume_device, + typedef BOOL (WINAPI * PFN_GetVolumePathNamesForVolumeNameW)(LPCSTR, LPTSTR, DWORD, PDWORD); + PFN_GetVolumePathNamesForVolumeNameW pGetVolumePathNamesForVolumeNameW = + (PFN_GetVolumePathNamesForVolumeNameW) GetProcAddress (GetModuleHandle ("kernel32.dll"), "GetVolumePathNamesForVolumeNameW"); + if (pGetVolumePathNamesForVolumeNameW && pGetVolumePathNamesForVolumeNameW (volume_device, path_names, G_N_ELEMENTS (path_names), &path_names_len)) { GnomeVFSVolume *volume;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor