driver function instead of defining a private function type.
make sure we don't use them outside of gdi32.