Michael Stefaniuc : gdi32: There is no need to cast NULL to a function pointer.