Several Win32 APIs require your programs to provide Windows with the address of a callback function. You can write callbacks in Java by extending the system class com.ms.dll.Callback.
For more information, see: