RequestCallback - Try to install a callback
|Top Previous Next|
<nAddress> := RequestCallback( <cbCallbackBlock>, [<nCallConvention>] )
Codeblock to be executed when a call to the returned address takes place.
A call to the address returned by RequestCallback leads to the execution of <cbCallbackBlock>. Parameters given by the caller are passed on as LONG values to <cbCallbackBlock>. <cbCallbackBlock> must receive exactly the number of parameters that are passed and the calling convention specified in <nCallConvention> must match the convention expected by the caller. If the callback cannot be installed in memory, NIL is returned by RequestCallback(). A callback installed with RequestCallback should be released with ReleaseCallback if it is not used any longer to free resources.
For more details about callbacks turn to Callbacks.
Library: cckptcor.lib / cckptcor.dll