Wiki Page Content

Differences between revisions 6 and 7
Revision 6 as of 2011-02-24 19:32:49
Size: 830
Editor: SheenaSmith
Comment: update page - 2/3 changeset 5165 (2/23 5391); camelcase pragma change
Revision 7 as of 2013-07-23 12:50:11
Size: 832
Editor: axper
Comment: corrected vertical alignment of parameters
Deletions are marked like this. Additions are marked like this.
Line 12: Line 12:
                       const char* name,
                       void* userdata)
  const char* name,
                        void* userdata)

SDL_SetWindowData

Use this function to associate an arbitrary named pointer with a window.

Syntax

void* SDL_SetWindowData(SDL_Window* window,
                        const char* name,
                        void*       userdata)

Function Parameters

window

the window to associate with the pointer

name

the name of the pointer

userdata

the associated pointer

Return Value

Returns the previous value associated with name.

Code Examples

You can add your code example here

Remarks

name is case-sensitive.


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