VirtualBox

Changeset 102658 in vbox for trunk/src/VBox/Runtime


Ignore:
Timestamp:
Dec 20, 2023 5:12:48 PM (11 months ago)
Author:
vboxsync
Message:

IPRT/RTFsMountpointsEnum: Dynamically resolve some Windows volume APIs which are not in NT 3.51 [build fix]. ​bugref:10415

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/win/RTFsMountpointsEnum-win.cpp

    r102657 r102658  
    4444#include <iprt/assert.h>
    4545#include <iprt/errcore.h>
     46#include <iprt/once.h>
    4647#include <iprt/path.h>
    4748#include <iprt/string.h>
     
    5556*********************************************************************************************************************************/
    5657/* kernel32.dll: */
    57 typedef HANDLE (WINAPI *PFNFINDFIRSTVOLUMEW(LPWSTR, DWORD);
    58 typedef HANDLE (WINAPI *PFNFINDNEXTVOLUMEW(HANDLE, LPWSTR, DWORD);
    59 typedef HANDLE (WINAPI *PFNFINDVOLUMECLOSE(HANDLE);
    60 typedef HANDLE (WINAPI *PFNGETVOLUMEPATHNAMESFORVOLUMENAMEW(LPCWSTR, LPWCH, DWORD, PDWORD);
    61 typedef HANDLE (WINAPI *PFNFINDFIRSTVOLUMEMOUNTPOINTW(LPCWSTR, LPWSTR, DWORD);
    62 typedef HANDLE (WINAPI *PFNFINDNEXTVOLUMEMOUNTPOINTW(HANDLE, LPWSTR, DWORD);
    63 typedef HANDLE (WINAPI *PFNFINDVOLUMEMOUNTPOINTCLOSE(HANDLE);
     58typedef HANDLE (WINAPI *PFNFINDFIRSTVOLUMEW)(LPWSTR, DWORD);
     59typedef HANDLE (WINAPI *PFNFINDNEXTVOLUMEW)(HANDLE, LPWSTR, DWORD);
     60typedef HANDLE (WINAPI *PFNFINDVOLUMECLOSE)(HANDLE);
     61typedef HANDLE (WINAPI *PFNGETVOLUMEPATHNAMESFORVOLUMENAMEW)(LPCWSTR, LPWCH, DWORD, PDWORD);
     62typedef HANDLE (WINAPI *PFNFINDFIRSTVOLUMEMOUNTPOINTW)(LPCWSTR, LPWSTR, DWORD);
     63typedef HANDLE (WINAPI *PFNFINDNEXTVOLUMEMOUNTPOINTW)(HANDLE, LPWSTR, DWORD);
     64typedef HANDLE (WINAPI *PFNFINDVOLUMEMOUNTPOINTCLOSE)(HANDLE);
    6465
    6566
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette