I have two issues, firstly I am a bit confused by the if statement itself. I have tried to google it and people also seem to say that initialization is not a bool, so what is going on here?
Secondly could somebody please tell me the name of the | "operator" in the parameter list. I think I across it once before and I want to google what it means, but I can't remember what it is called and it is hard to google.
It sets Surf_Display to what ever the function returns and tests if it is NULL. '|' is a pipe character which is a logical bitwise OR.
Edit: Confused terminology, "||" is logical OR.