|
Size: 790
Comment: add categories
|
Size: 705
Comment: content changed
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 5: | Line 5: |
| Use this function to create an SDL window struct from an existing native window. | Use this function to create an SDL window from an existing native window. |
| Line 15: | Line 15: |
| ||'''data'''||a pointer to driver-dependent window creation data || | ||'''data'''||a pointer to driver-dependent window creation data|| |
| Line 26: | Line 26: |
| {{{#!wiki caution This function is NOT SUPPORTED, use at your own risk! }}} |
SDL_CreateWindowFrom
Use this function to create an SDL window from an existing native window.
Contents
Syntax
SDL_WindowID SDL_CreateWindowFrom(const void* data)
Function Parameters
data |
a pointer to driver-dependent window creation data |
Return Value
The ID of the window created, or 0 if window creation failed; call SDL_GetError() for more information.
Code Examples
You can add your code example here
Remarks
