Can't give you code - but I did this a few years back.
Create an external library and add an method with a call signature
matching the function you got below.
Then you need to get the ExternalMethod instance (e.g. UserLibrary
methodDictionary at: #blockInput:). This ExternalMethod instance
contains and ExternalDescriptor which contains the (for DLLs resolved)
proc address (check for #procAddress). You need to write the address you
got below into the descriptor literal. Then you can call the function
you got below by using an instance of your own lib. I /think/ there was
also some lazy/caching stuff going on. You might have to check.
Can't give you the exact code. But this is the rough outline.
CU,
Udo