readably, like the rest of the code, half a dozen times). The function is probably just returning ERROR_CALL_NOT_IMPLEMENTED. If it's returning some other error, find out what it is and add it to the conditional. Don't just break out without understanding the logic of the rest of the function.