VirtualBox

Changeset 74460 in vbox for trunk/include/iprt


Ignore:
Timestamp:
Sep 25, 2018 3:42:33 PM (6 years ago)
Author:
vboxsync
Message:

IPRT: Implemented long filename support for windows (except for LoadLibrary). bugref:9248

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/path.h

    r70891 r74460  
    15031503RTDECL(RTEXITCODE) RTPathRmCmd(unsigned cArgs, char **papszArgs);
    15041504
     1505# ifdef RT_OS_WINDOWS
     1506
     1507/**
     1508 * Converts the given UTF-8 path into a native windows path.
     1509 *
     1510 * @returns IPRT status code.
     1511 * @param   ppwszPath           Where to return the path.  This will always be
     1512 *                              set to NULL on failure.  Use RTPathWinFree to
     1513 *                              free it when done.
     1514 * @param   pszPath             The UTF-8 path to convert.
     1515 * @param   fFlags              MBZ, reserved for future hacks.
     1516 * @sa      RTPathWinFree, RTNtPathFromWinUtf8, RTNtPathRelativeFromUtf8.
     1517 */
     1518RTDECL(int)  RTPathWinFromUtf8(PRTUTF16 *ppwszPath, const char *pszPath, uint32_t fFlags);
     1519
     1520/**
     1521 * Frees a native windows path returned by RTPathWinFromUtf8
     1522 *
     1523 * @param   pwszPath            The path to free.  NULL is ignored.
     1524 */
     1525RTDECL(void) RTPathWinFree(PRTUTF16 pwszPath);
     1526
     1527# endif /* RT_OS_WINDOWS */
     1528
    15051529#endif /* IN_RING3 */
    15061530
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