Wiki Page Content

Differences between revisions 1 and 2
Revision 1 as of 2010-01-17 06:30:40
Size: 776
Editor: SheenaSmith
Comment: create page, add content
Revision 2 as of 2010-01-21 17:48:06
Size: 770
Editor: SheenaSmith
Comment: Update WindowID > Window*
Deletions are marked like this. Additions are marked like this.
Line 12: Line 12:
void SDL_SetWindowData(SDL_WindowID windowID,
                       void*  userdata)
void SDL_SetWindowData(SDL_Window* window,
                       void* userdata)
Line 17: Line 17:
||'''windowID'''||the type used to identify the window|| ||'''window'''||the type used to identify the window||

DRAFT

SDL_SetWindowData

Use this function to associate an arbitrary pointer with the window.

Syntax

void SDL_SetWindowData(SDL_Window* window,
                       void*       userdata)

Function Parameters

window

the type used to identify the window

userdata

a pointer passed as the first parameter to the callback function

Code Examples

You can add your code example here

Remarks

You can add useful comments here


CategoryAPI, CategoryVideo

None: SDL_SetWindowData (last edited 2013-07-23 12:50:11 by axper)

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