Change to use stdcall convention and to support return types other than xlOperand*