Wiki Page Content

Differences between revisions 7 and 8
Revision 7 as of 2011-01-01 20:55:41
Size: 683
Editor: SheenaSmith
Comment: update formatting - enums, structs, the/an
Revision 8 as of 2011-02-24 19:37:22
Size: 718
Editor: SheenaSmith
Comment: update page - 2/3 changeset 5165 (2/23 5391); camelcase pragma change
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
#pragma disable-camelcase #pragma camelcase off
Line 11: Line 11:
void* SDL_GetWindowData(SDL_Window* window) void* SDL_GetWindowData(SDL_Window* window,
                        const char* name
)
Line 16: Line 17:
||'''name'''||the name of the pointer||
Line 18: Line 20:
Returns a data pointer associated with the window by the function [[SDL_SetWindowData]](). Returns the value associated with '''name'''.

SDL_GetWindowData

Use this function to retrieve the data pointer associated with a window.

Syntax

void* SDL_GetWindowData(SDL_Window* window,
                        const char* name)

Function Parameters

window

the window to query

name

the name of the pointer

Return Value

Returns the value associated with name.

Code Examples

You can add your code example here

Remarks

You can add useful comments here


CategoryAPI, CategoryVideo

None: SDL_GetWindowData (last edited 2011-02-24 19:37:22 by SheenaSmith)

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