SDL Wiki
(This function is part of SDL_mixer, a separate library from SDL.)


Get a pointer to the user data for the current music hook.

Header File

Defined in <SDL_mixer.h>


void * Mix_GetMusicHookData(void);

Return Value

(void *) Returns pointer to the user data previously passed to Mix_HookMusic.


This returns the arg pointer last passed to Mix_HookMusic(), or NULL if that function has never been called.


This function is available since SDL_mixer 2.0.0.

CategoryAPI, CategoryAPIFunction

[ edit | delete | history | feedback | raw ]

[ front page | index | search | recent changes | git repo | offline html ]

All wiki content is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).
Wiki powered by ghwikipp.