include/SDL_system.h
changeset 8453 499aa167ea79
parent 8439 14d94a8a9fb6
child 8477 ad08f0d710f3
     1.1 --- a/include/SDL_system.h	Sun Mar 31 11:44:50 2013 -0400
     1.2 +++ b/include/SDL_system.h	Mon Apr 01 21:33:06 2013 -0400
     1.3 @@ -135,7 +135,25 @@
     1.4   *      SDL_WinRT_Path for more information on which path types are
     1.5   *      supported where.
     1.6   */
     1.7 -extern DECLSPEC const wchar_t * SDLCALL SDL_WinRTGetFileSystemPath(SDL_WinRT_Path pathType);
     1.8 +extern DECLSPEC const wchar_t * SDLCALL SDL_WinRTGetFSPathUNICODE(SDL_WinRT_Path pathType);
     1.9 +
    1.10 +/**
    1.11 + *  \brief Retrieves a Windows RT defined path on the local file system
    1.12 + *
    1.13 + *  \note Documentation on most app-specific path types on Windows RT
    1.14 + *      can be found on MSDN, at the URL:
    1.15 + *      http://msdn.microsoft.com/en-us/library/windows/apps/hh464917.aspx
    1.16 + *
    1.17 + *  \param pathType The type of path to retrieve.
    1.18 + *  \ret A UTF-8 string (8-bit, multi-byte) containing the path, or NULL
    1.19 + *      if the path is not available for any reason.  Not all paths are
    1.20 + *      available on all versions of Windows.  This is especially true on
    1.21 + *      Windows Phone.  Check the documentation for the given
    1.22 + *      SDL_WinRT_Path for more information on which path types are
    1.23 + *      supported where.
    1.24 + */
    1.25 +extern DECLSPEC const char * SDLCALL SDL_WinRTGetFSPathUTF8(SDL_WinRT_Path pathType);
    1.26 +
    1.27  
    1.28  #endif /* __WINRT__ */
    1.29