Using the API is not built into kix. There are ways around it, but your results will be varied. I don't remember the name but I think Howard Bullock wrote a utility to allow you to use the the WinAPI. There is the Dynamic Wrapper(search for dynawrapper or dynawrap), and most recently I was toying with using the POSHActiveX and Powershell to do it.

Here is the link to the PoshactiveX thread:
http://www.kixtart.org/forums/ubbthreads.php?ubb=showflat&Number=200660#Post200660