By the way, I find this logic pretty strange. attrAddr is the pointer to some optional extra parameter. So, if this is correct, we're supposed to set the result to SUCCESS _only_ if the game supplies an attrAddr? And not, if the game doesn't? That's pretty odd.