remove hInstance, we can add it separately