Wiki Page Content

Differences between revisions 9 and 10
Revision 9 as of 2011-03-04 23:49:07
Size: 747
Editor: SheenaSmith
Comment: remove RF - 2/28 changeset 5421 (2/10 5244)
Revision 10 as of 2011-11-29 19:51:38
Size: 730
Editor: SheenaSmith
Comment: update content for consistency - return value; camelcase
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
#pragma disable-camelcase #pragma camelcase off
Line 18: Line 18:
Returns the ID of the window created or 0 if window creation failed; call [[SDL_GetError]]() for more information. Returns the window that was created or NULL on failure; call [[SDL_GetError]]() for more information.

SDL_CreateWindowFrom

Use this function to create an SDL window from an existing native window.

Syntax

SDL_Window* SDL_CreateWindowFrom(const void* data)

Function Parameters

data

a pointer to driver-dependent window creation data

Return Value

Returns the window that was created or NULL on failure; call SDL_GetError() for more information.

Code Examples

You can add your code example here

Remarks

You can add useful comments here


CategoryAPI, CategoryVideo

None: SDL_CreateWindowFrom (last edited 2015-05-08 19:40:51 by PhilippWiesemann)

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