I think HeapAlloc will already set the last error correctly, so I don't have to worry about that.
It doesn't.
It might be better to just wrap it in an 'else { ... }' to be more specific about this.
Yeah, an else block would be clearer to me, but I didn't want to dictate style ;-)
Thanks, --Juan