C wrapper functions similar to the native AutoIt functions