Wiki Page Content

Differences between revisions 1 and 2
Revision 1 as of 2014-12-27 12:31:39
Size: 1759
Comment: Created page using content from header file.
Revision 2 as of 2014-12-27 12:50:28
Size: 1760
Comment: Fixed copy error.
Deletions are marked like this. Additions are marked like this.
Line 26: Line 26:
Returns a UTF-8 string (8-bit, multi-byte) containing the path, or NULL if the path is not available for any reason; call [[SDL_GetError]]() for more information. Returns a UCS-2 string (16-bit, wide-char) containing the path, or NULL if the path is not available for any reason; call [[SDL_GetError]]() for more information.
Line 38: Line 38:
Line 45: Line 44:
This function is available in SDL 2.0.3. This function is available since SDL 2.0.3.

DRAFT

SDL_WinRTGetFSPathUNICODE

Use this function to retrieve a WinRT defined path on the local file system.

Syntax

const wchar_t* SDL_WinRTGetFSPathUNICODE(SDL_WinRT_Path pathType)

Function Parameters

pathType

the type of path to retrieve, one of SDL_WinRT_Path

Return Value

Returns a UCS-2 string (16-bit, wide-char) containing the path, or NULL if the path is not available for any reason; call SDL_GetError() for more information.

Code Examples

You can add your code example here

Remarks

Not all paths are available on all versions of Windows. This is especially true on Windows Phone. Check the documentation for the given SDL_WinRT_Path for more information on which path types are supported where.

Documentation on most app-specific path types on WinRT can be found on MSDN, at the URL: http://msdn.microsoft.com/en-us/library/windows/apps/hh464917.aspx

Version

This function is available since SDL 2.0.3.


CategoryAPI, CategorySystem

None: SDL_WinRTGetFSPathUNICODE (last edited 2014-12-27 12:50:28 by PhilippWiesemann)

(Page Info.)
Feedback
Please include your contact information if you'd like to receive a reply.
Submit