Results 1 - 25 of 261 results out of about 6839 pages. (5.14 seconds)
- SDL_GetError . . . 7 matches
- ...
= SDL_GetError =
Use this function to retrieve a message about the last error that occurred.
<<TableOfContents()>>
== Syntax ==
{{{#!highlight cpp
const char* SDL_GetError(void...
- SDL_CreateWindowAndRenderer . . . 5 matches
- ... NULL on error||
== Return Value ==
Returns 0 on success, or -1 on error; call [[SDL_GetError]]() for more information.
== Code Examples ==
{{{#!highlight cpp
#include "SDL.h"...
- SDL_CreateSoftwareRenderer . . . 4 matches
- ...rn Value ==
Returns a valid rendering context or NULL if there was an error; call [[SDL_GetError]]() for more information.
== Code Examples ==
{{{#!highlight cpp
#include "SDL.h"
...
- SDL_VideoInit . . . 3 matches
- ...== Return Value ==
Returns 0 on success or a negative error code on failure; call [[SDL_GetError]]() for more information.
== Code Examples ==
{{{#!highlight cpp
#include "SDL.h"
...
- SDL_GL_SetAttribute . . . 3 matches
- ...== Return Value ==
Returns 0 on success or a negative error code on failure; call [[SDL_GetError]]() for more information.
== Code Examples ==
{{{#!highlight cpp
SDL_Window *windo...
- SDL_CreateTextureFromSurface . . . 3 matches
- ...exture||
== Return Value ==
Returns the created texture or NULL on failure; call [[SDL_GetError]]() for more information.
== Code Examples ==
{{{#!highlight cpp
Uint32 rmask, gma...
- SDL_SaveBMP . . . 2 matches
- ...== Return Value ==
Returns 0 on success or a negative error code on failure; call [[SDL_GetError]]() for more information.
== Code Examples ==
{{{#!highlight cpp
...
SDL...
- SDL_OpenAudioDevice . . . 2 matches
- ...n Value ==
Returns a valid device ID that is > 0 on success or 0 on failure; call [[SDL_GetError]]() for more information.
For compatibility with SDL 1.2, this will never return 1...
- SDL_OpenAudio . . . 2 matches
- ...e on failure to open the audio device or failure to set up the audio thread; call [[SDL_GetError]]() for more information.
== Code Examples ==
{{{#!highlight cpp
SDL_AudioSpec wan...
- SDL_LoadWAV_RW . . . 2 matches
- ... the wave file cannot be opened, uses an unknown data format, or is corrupt; call [[SDL_GetError]]() for more information.
When the application is done with the data returned in '...
- SDL_Init . . . 2 matches
- ...== Return Value ==
Returns 0 on success or a negative error code on failure; call [[SDL_GetError]]() for more information.
== Code Examples ==
{{{#!highlight cpp
#include "SDL.h"
...
- SDL_GetWindowWMInfo . . . 2 matches
- ...''' struct is valid, or SDL_FALSE if the information could not be retrieved; call [[SDL_GetError]]() for more information.
== Code Examples ==
{{{#!highlight cpp
#include "SDL.h"
...
- SDL_GetDisplayMode . . . 2 matches
- ...== Return Value ==
Returns 0 on success or a negative error code on failure; call [[SDL_GetError]]() for more information.
== Code Examples ==
{{{#!highlight cpp
int display_c...
- SDL_GetDisplayBounds . . . 2 matches
- ...== Return Value ==
Returns 0 on success or a negative error code on failure; call [[SDL_GetError]]() for more information.
== Code Examples ==
{{{#!highlight cpp
SDL_Rect r;
if (S...
- SDL_GetDesktopDisplayMode . . . 2 matches
- ...== Return Value ==
Returns 0 on success or a negative error code on failure; call [[SDL_GetError]]() for more information.
== Code Examples ==
{{{#!highlight cpp
SDL_DisplayMode d...
- SDL_GetCurrentDisplayMode . . . 2 matches
- ...== Return Value ==
Returns 0 on success or a negative error code on failure; call [[SDL_GetError]]() for more information.
== Code Examples ==
{{{#!highlight cpp
// Using SDL2's ...
- SDL_GameControllerOpen . . . 2 matches
- ...n Value ==
Returns a gamecontroller identifier or NULL if an error occurred; call [[SDL_GetError]]() for more information.
== Code Examples ==
{{{#!highlight cpp
/* Open the firs...
- SDL_CreateWindow . . . 2 matches
- ...
== Return Value ==
Returns the window that was created or NULL on failure; call [[SDL_GetError]]() for more information.
== Code Examples ==
{{{#!highlight cpp
// Example progra...
- SDL_CreateThread . . . 2 matches
- ...e new thread object on success, NULL if the new thread could not be created; call [[SDL_GetError]]() for more information.
== Code Examples ==
{{{#!highlight cpp
#include <stdio.h...
- SDL_CreateTexture . . . 2 matches
- ...ctive, the format was unsupported, or the width or height were out of range; call [[SDL_GetError]]() for more information.
== Code Examples ==
{{{#!highlight cpp
#include "SDL.h"
...
- SDL_CreateRGBSurfaceWithFormatFrom . . . 2 matches
- ...Return Value ==
Returns a new [[SDL_Surface]] on success or NULL on failure; call [[SDL_GetError]]() for more information.
== Code Examples ==
{{{#!highlight cpp
// This example ...
- SDL_CreateRGBSurfaceWithFormat . . . 2 matches
- ...Return Value ==
Returns a new [[SDL_Surface]] on success or NULL on failure; call [[SDL_GetError]]() for more information.
== Code Examples ==
{{{#!highlight cpp
/* Create a ...
- SDL_CreateRGBSurfaceFrom . . . 2 matches
- ...turns the new [[SDL_Surface]] structure that is created or NULL if it fails; call [[SDL_GetError]]() for more information.
== Code Examples ==
{{{#!highlight cpp
// This example s...
- SDL_CreateRGBSurface . . . 2 matches
- ...turns the new [[SDL_Surface]] structure that is created or NULL if it fails; call [[SDL_GetError]]() for more information.
== Code Examples ==
{{{#!highlight cpp
/* Create a 3...
- SDL_CreateColorCursor . . . 2 matches
- ...||
== Return Value ==
Returns the new cursor on success or NULL on failure; call [[SDL_GetError]]() for more information.
== Code Examples ==
{{{#!highlight cpp
#include "SDL.h"
...
