|
@@ -615,11 +615,12 @@ extern SDL_DECLSPEC int SDLCALL SDL_EnterAppMainCallbacks(int argc, char *argv[]
|
|
|
* Most applications do not need to, and should not, call this directly; SDL
|
|
|
* will call it when initializing the video subsystem.
|
|
|
*
|
|
|
+ * If `name` is NULL, SDL currently uses `(CS_BYTEALIGNCLIENT | CS_OWNDC)`
|
|
|
+ * for the style, regardless of what is specified here.
|
|
|
+ *
|
|
|
* \param name the window class name, in UTF-8 encoding. If NULL, SDL
|
|
|
* currently uses "SDL_app" but this isn't guaranteed.
|
|
|
- * \param style the value to use in WNDCLASSEX::style. If `name` is NULL, SDL
|
|
|
- * currently uses `(CS_BYTEALIGNCLIENT \| CS_OWNDC)` regardless
|
|
|
- * of what is specified here.
|
|
|
+ * \param style the value to use in WNDCLASSEX::style.
|
|
|
* \param hInst the HINSTANCE to use in WNDCLASSEX::hInstance. If zero, SDL
|
|
|
* will use `GetModuleHandle(NULL)` instead.
|
|
|
* \returns true on success or false on failure; call SDL_GetError() for more
|