May 17, 2021
12:51 a.m.
The API isn't only callable from C++. In C or other languages, a NULL pointer could be passed in. The only way to know for sure is to test, but usually gdiplus does not crash on NULL inputs.