• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 194
  • Last Modified:

Call back function

what is a call back function when and where can we use it.
0
vijaka
Asked:
vijaka
2 Solutions
 
StonedRaiderCommented:
it is a normal funcion that windows will call for you.
you can use it for enumerations like:
EnumWindows() function or EnumChildWindows() function, etc
0
 
ShmaryaCommented:
Callback functions are fairly simple in concept:

When you issue an API command that needs to collect data, or do some process, before returning to you, you need some way for the API process to let you know when it is done. Enter Callback Functions!

Windows API callback functions allow you to issue Asynchronous API commands and receive notification in the form of a certain method (the address of which you pass in the original API call) being called when that process completes. This allows you to, for example, ask windows for an Enumeration of all windows (using EnumWindows) and return control to your UI until windows responds.

I hope this helped.
0
 
CleanupPingCommented:
vijaka:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
0

Featured Post

[Webinar] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now