Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Callback function

Status
Not open for further replies.

MarcoMB

Programmer
Oct 24, 2006
61
IT
I can't find a good definition and explanation about callback functions in Win32... can someone explain me what are callback functions and how they work and receive parameters?
 
A callback function is a pointer to a function. Look at qsort() for an example of using a function pointer.
 
thanks for reply but i don't understand if the callback function is called directly by operating system and if it must be a win api function or if i can create a user-defined callback function and i decide to call it calling the function that has its address as an argument
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top