Wrap dll functions more simply