C callback function emulation and asynchronous events.

AsyncWaitForObjectWaits for a API HANDLE on a seperate thread without blocking, when the HANDLE is signaled the supplied callback function is executed.
BindEventsExProvides the ability to execute a function or object method when an API window receives a specified window message.
CancelWaitForObjectStops the thread which waits for a HANDLE to be signaled.
CreateCallbackFuncCreates an assembly thunk which emulates a C callback function.
CreatePublicShadowObjReferenceCreates a new public variable referencing the supplied object without incrementing the objects reference count.
DestroyCallbackFuncReleases the passed in C callback function.
ReleasePublicShadowObjReferenceReleases the public variable referencing an object created with CreatePublicShadowObjReference.
UnbindEventsExUnbinds events for a windows which was previously bound with BindEventsEx.