SDL Wiki
(This is the documentation for SDL3, which is under heavy development and the API is changing! SDL2 is the current stable version!)

SDL_UnregisterApp

Deregister the win32 window class from an SDL_RegisterApp call.

Header File

Defined in SDL_main.h, but apps should use #include <SDL3/SDL.h>

Syntax

void SDL_UnregisterApp(void);

Remarks

This can be called to undo the effects of SDL_RegisterApp.

Most applications do not need to, and should not, call this directly; SDL will call it when deinitializing the video subsystem.

It is safe to call this multiple times, as long as every call is eventually paired with a prior call to SDL_RegisterApp. The window class will only be deregistered when the registration counter in SDL_RegisterApp decrements to zero through calls to this function.

Version

This function is available since SDL 3.0.0.


CategoryAPI, CategoryAPIFunction


[ edit | delete | history | feedback | raw ]

[ front page | index | search | recent changes | git repo | offline html ]

All wiki content is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).
Wiki powered by ghwikipp.