Hey again. I'm working on and off on my little tool that currently installs fonts, writes the registry, and will do various other things i'm gonna need.
I'm currently trying to implement full error checking before i go on, and i'm pretty clueless on how to use return values. I know that it's a stupid question, but,
AddFontResource(myFont);
Return Values
If the function succeeds, the return value specifies the number of fonts added.
If the function fails, the return value is zero. No extended error information is available.
Okay, so how exactly do i get those return values to be able to use them for error checking? Do i simply put return after the function? I'm clueless on this one.