-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ee8cd03
commit 5eda05e
Showing
2 changed files
with
37 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
###### (This is the documentation for SDL3, which is under heavy development and the API is changing! [SDL2](https://wiki.libsdl.org/SDL2/) is the current stable version!) | ||
# SDL_GetWindows | ||
|
||
Get a list of valid windows. | ||
|
||
## Header File | ||
|
||
Defined in [<SDL3/SDL_video.h>](https://github.com/libsdl-org/SDL/blob/main/include/SDL3/SDL_video.h) | ||
|
||
## Syntax | ||
|
||
```c | ||
extern SDL_DECLSPEC SDL_Window **SDLCALL SDL_GetWindows(int *count); | ||
``` | ||
## Function Parameters | ||
| | | | | ||
| ----- | --------- | --------------------------------------------------------------------- | | ||
| int * | **count** | a pointer filled in with the number of windows returned, may be NULL. | | ||
## Return Value | ||
([SDL_Window](SDL_Window) **) Returns a 0 terminated array of window | ||
pointers which should be freed with [SDL_free](SDL_free)(), or NULL on | ||
error; call [SDL_GetError](SDL_GetError)() for more details. | ||
## Version | ||
This function is available since SDL 3.0.0. | ||
---- | ||
[CategoryAPI](CategoryAPI), [CategoryAPIFunction](CategoryAPIFunction), [CategoryVideo](CategoryVideo) | ||