hab (HAB) - input

      Anchor-block handle.

    pszClassName (PSZ) - input

      Window-class name.

      An application-specified class name.

    pfnWndProc (PFNWP) - input

      Window-procedure identifier.

      Can be NULL if the application does not provide its own window procedure.

    flStyle (ULONG) - input

      Default-window style.

      This can be any of the standard class styles (CS_*) in addition to any class-specific styles that are defined. These styles can be augmented when a window of this class is created.

      A public window class is created if the CS_PUBLIC style is specified, otherwise a private class is created. The CS_PUBLIC style must only be specified for the shell process.

      Public classes are available for creating windows from any process. Private classes are only available to the registering process.

    cbWindowData (ULONG) - input

      Reserved storage.

      This is the number of bytes of storage reserved per window created of this class for application use.

    rc (BOOL) - returns

      Window-class-registration indicator.

      TRUE

        Window class successfully registered
      FALSE
        Window class not successfully registered.


      [Back] [Next]