1<HTML 2><HEAD 3><TITLE 4>SDL_QuitSubSystem</TITLE 5><META 6NAME="GENERATOR" 7CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+ 8"><LINK 9REL="HOME" 10TITLE="SDL Library Documentation" 11HREF="index.html"><LINK 12REL="UP" 13TITLE="General" 14HREF="general.html"><LINK 15REL="PREVIOUS" 16TITLE="SDL_InitSubSystem" 17HREF="sdlinitsubsystem.html"><LINK 18REL="NEXT" 19TITLE="SDL_Quit" 20HREF="sdlquit.html"></HEAD 21><BODY 22CLASS="REFENTRY" 23BGCOLOR="#FFF8DC" 24TEXT="#000000" 25LINK="#0000ee" 26VLINK="#551a8b" 27ALINK="#ff0000" 28><DIV 29CLASS="NAVHEADER" 30><TABLE 31SUMMARY="Header navigation table" 32WIDTH="100%" 33BORDER="0" 34CELLPADDING="0" 35CELLSPACING="0" 36><TR 37><TH 38COLSPAN="3" 39ALIGN="center" 40>SDL Library Documentation</TH 41></TR 42><TR 43><TD 44WIDTH="10%" 45ALIGN="left" 46VALIGN="bottom" 47><A 48HREF="sdlinitsubsystem.html" 49ACCESSKEY="P" 50>Prev</A 51></TD 52><TD 53WIDTH="80%" 54ALIGN="center" 55VALIGN="bottom" 56></TD 57><TD 58WIDTH="10%" 59ALIGN="right" 60VALIGN="bottom" 61><A 62HREF="sdlquit.html" 63ACCESSKEY="N" 64>Next</A 65></TD 66></TR 67></TABLE 68><HR 69ALIGN="LEFT" 70WIDTH="100%"></DIV 71><H1 72><A 73NAME="SDLQUITSUBSYSTEM" 74></A 75>SDL_QuitSubSystem</H1 76><DIV 77CLASS="REFNAMEDIV" 78><A 79NAME="AEN550" 80></A 81><H2 82>Name</H2 83>SDL_QuitSubSystem -- Shut down a subsystem</DIV 84><DIV 85CLASS="REFSYNOPSISDIV" 86><A 87NAME="AEN553" 88></A 89><H2 90>Synopsis</H2 91><DIV 92CLASS="FUNCSYNOPSIS" 93><A 94NAME="AEN554" 95></A 96><P 97></P 98><PRE 99CLASS="FUNCSYNOPSISINFO" 100>#include "SDL.h"</PRE 101><P 102><CODE 103><CODE 104CLASS="FUNCDEF" 105>void <B 106CLASS="FSFUNC" 107>SDL_QuitSubSystem</B 108></CODE 109>(Uint32 flags);</CODE 110></P 111><P 112></P 113></DIV 114></DIV 115><DIV 116CLASS="REFSECT1" 117><A 118NAME="AEN560" 119></A 120><H2 121>Description</H2 122><P 123><TT 124CLASS="FUNCTION" 125>SDL_QuitSubSystem</TT 126> allows you to shut down a subsystem that has been previously initialized by <A 127HREF="sdlinit.html" 128><TT 129CLASS="FUNCTION" 130>SDL_Init</TT 131></A 132> or <A 133HREF="sdlinitsubsystem.html" 134><TT 135CLASS="FUNCTION" 136>SDL_InitSubSystem</TT 137></A 138>. The <TT 139CLASS="PARAMETER" 140><I 141>flags</I 142></TT 143> tells <TT 144CLASS="FUNCTION" 145>SDL_QuitSubSystem</TT 146> which subsystems to shut down, it uses the same values that are passed to <A 147HREF="sdlinit.html" 148><TT 149CLASS="FUNCTION" 150>SDL_Init</TT 151></A 152>.</P 153></DIV 154><DIV 155CLASS="REFSECT1" 156><A 157NAME="AEN572" 158></A 159><H2 160>See Also</H2 161><P 162><A 163HREF="sdlquit.html" 164><TT 165CLASS="FUNCTION" 166>SDL_Quit</TT 167></A 168>, 169<A 170HREF="sdlinit.html" 171><TT 172CLASS="FUNCTION" 173>SDL_Init</TT 174></A 175>, 176<A 177HREF="sdlinitsubsystem.html" 178><TT 179CLASS="FUNCTION" 180>SDL_InitSubSystem</TT 181></A 182></P 183></DIV 184><DIV 185CLASS="NAVFOOTER" 186><HR 187ALIGN="LEFT" 188WIDTH="100%"><TABLE 189SUMMARY="Footer navigation table" 190WIDTH="100%" 191BORDER="0" 192CELLPADDING="0" 193CELLSPACING="0" 194><TR 195><TD 196WIDTH="33%" 197ALIGN="left" 198VALIGN="top" 199><A 200HREF="sdlinitsubsystem.html" 201ACCESSKEY="P" 202>Prev</A 203></TD 204><TD 205WIDTH="34%" 206ALIGN="center" 207VALIGN="top" 208><A 209HREF="index.html" 210ACCESSKEY="H" 211>Home</A 212></TD 213><TD 214WIDTH="33%" 215ALIGN="right" 216VALIGN="top" 217><A 218HREF="sdlquit.html" 219ACCESSKEY="N" 220>Next</A 221></TD 222></TR 223><TR 224><TD 225WIDTH="33%" 226ALIGN="left" 227VALIGN="top" 228>SDL_InitSubSystem</TD 229><TD 230WIDTH="34%" 231ALIGN="center" 232VALIGN="top" 233><A 234HREF="general.html" 235ACCESSKEY="U" 236>Up</A 237></TD 238><TD 239WIDTH="33%" 240ALIGN="right" 241VALIGN="top" 242>SDL_Quit</TD 243></TR 244></TABLE 245></DIV 246></BODY 247></HTML 248>