When a window is created (throw CreateWindow / Ex), it must be associated with a specific class. This class must first be registered with the system. MSDN simply states:
A process must register a window class before it can create a window for this class.
, API. , , ( ). , .