Tao.Sdl SDK Documentation

Sdl.SDL_QuitSubSystem Method 

Shuts down specified subsystems.

[Visual Basic]
Public Shared Sub SDL_QuitSubSystem( _
   ByVal flags As Integer _
)
[C#]
public static void SDL_QuitSubSystem(
   int flags
);

Parameters

flags

Specifies what part(s) of SDL to shut down:

Flag Description
SDL_INIT_TIMER Shuts down the timer subsystem.
SDL_INIT_AUDIO Shuts down the audio subsystem.
SDL_INIT_VIDEO Shuts down the video subsystem.
SDL_INIT_CDROM Shuts down the CD-ROM subsystem.
SDL_INIT_JOYSTICK Shuts down the joystick subsystem.
SDL_INIT_EVERYTHING Shuts down all subsystems.
SDL_INIT_NOPARACHUTE Prevents SDL from catching fatal signals.
SDL_INIT_EVENTTHREAD Not supported on all OS's.

Remarks

SDL_QuitSubSystem allows you to shut down a subsystem that has been previously initialized by SDL_Init or SDL_InitSubSystem.

Binds to C-function call in SDL.h:

extern DECLSPEC void SDLCALL SDL_QuitSubSystem(Uint32 flags)

See Also

Sdl Class | Tao.Sdl Namespace | SDL_Init | SDL_InitSubSystem | SDL_Quit