The idea is to invoke the base class constructor that takes a HINSTANCE, passing hInstance as the argument. If you didn't do that, then the default constructor for the base class would be invoked instead, and this would either be the wrong behaviour or result in a compile error if that constructor doesn't exist.