SDL 1.2.13
[crawl:crawl-sdl.git] / docs / html / sdlcdeject.html
1 <HTML
2 ><HEAD
3 ><TITLE
4 >SDL_CDEject</TITLE
5 ><META
6 NAME="GENERATOR"
7 CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
8 "><LINK
9 REL="HOME"
10 TITLE="SDL Library Documentation"
11 HREF="index.html"><LINK
12 REL="UP"
13 TITLE="CD-ROM"
14 HREF="cdrom.html"><LINK
15 REL="PREVIOUS"
16 TITLE="SDL_CDStop"
17 HREF="sdlcdstop.html"><LINK
18 REL="NEXT"
19 TITLE="SDL_CDClose"
20 HREF="sdlcdclose.html"></HEAD
21 ><BODY
22 CLASS="REFENTRY"
23 BGCOLOR="#FFF8DC"
24 TEXT="#000000"
25 LINK="#0000ee"
26 VLINK="#551a8b"
27 ALINK="#ff0000"
28 ><DIV
29 CLASS="NAVHEADER"
30 ><TABLE
31 SUMMARY="Header navigation table"
32 WIDTH="100%"
33 BORDER="0"
34 CELLPADDING="0"
35 CELLSPACING="0"
36 ><TR
37 ><TH
38 COLSPAN="3"
39 ALIGN="center"
40 >SDL Library Documentation</TH
41 ></TR
42 ><TR
43 ><TD
44 WIDTH="10%"
45 ALIGN="left"
46 VALIGN="bottom"
47 ><A
48 HREF="sdlcdstop.html"
49 ACCESSKEY="P"
50 >Prev</A
51 ></TD
52 ><TD
53 WIDTH="80%"
54 ALIGN="center"
55 VALIGN="bottom"
56 ></TD
57 ><TD
58 WIDTH="10%"
59 ALIGN="right"
60 VALIGN="bottom"
61 ><A
62 HREF="sdlcdclose.html"
63 ACCESSKEY="N"
64 >Next</A
65 ></TD
66 ></TR
67 ></TABLE
68 ><HR
69 ALIGN="LEFT"
70 WIDTH="100%"></DIV
71 ><H1
72 ><A
73 NAME="SDLCDEJECT"
74 ></A
75 >SDL_CDEject</H1
76 ><DIV
77 CLASS="REFNAMEDIV"
78 ><A
79 NAME="AEN7513"
80 ></A
81 ><H2
82 >Name</H2
83 >SDL_CDEject&nbsp;--&nbsp;Ejects a CDROM</DIV
84 ><DIV
85 CLASS="REFSYNOPSISDIV"
86 ><A
87 NAME="AEN7516"
88 ></A
89 ><H2
90 >Synopsis</H2
91 ><DIV
92 CLASS="FUNCSYNOPSIS"
93 ><A
94 NAME="AEN7517"
95 ></A
96 ><P
97 ></P
98 ><PRE
99 CLASS="FUNCSYNOPSISINFO"
100 >#include "SDL.h"</PRE
101 ><P
102 ><CODE
103 ><CODE
104 CLASS="FUNCDEF"
105 >int <B
106 CLASS="FSFUNC"
107 >SDL_CDEject</B
108 ></CODE
109 >(SDL_CD *cdrom);</CODE
110 ></P
111 ><P
112 ></P
113 ></DIV
114 ></DIV
115 ><DIV
116 CLASS="REFSECT1"
117 ><A
118 NAME="AEN7523"
119 ></A
120 ><H2
121 >Description</H2
122 ><P
123 >Ejects the given <TT
124 CLASS="PARAMETER"
125 ><I
126 >cdrom</I
127 ></TT
128 >.</P
129 ></DIV
130 ><DIV
131 CLASS="REFSECT1"
132 ><A
133 NAME="AEN7527"
134 ></A
135 ><H2
136 >Return Value</H2
137 ><P
138 >Returns <SPAN
139 CLASS="RETURNVALUE"
140 >0</SPAN
141 > on success, or <SPAN
142 CLASS="RETURNVALUE"
143 >-1</SPAN
144 > on an error.</P
145 ></DIV
146 ><DIV
147 CLASS="REFSECT1"
148 ><A
149 NAME="AEN7532"
150 ></A
151 ><H2
152 >See Also</H2
153 ><P
154 ><A
155 HREF="sdlcd.html"
156 ><SPAN
157 CLASS="STRUCTNAME"
158 >SDL_CD</SPAN
159 ></A
160 ></P
161 ></DIV
162 ><DIV
163 CLASS="NAVFOOTER"
164 ><HR
165 ALIGN="LEFT"
166 WIDTH="100%"><TABLE
167 SUMMARY="Footer navigation table"
168 WIDTH="100%"
169 BORDER="0"
170 CELLPADDING="0"
171 CELLSPACING="0"
172 ><TR
173 ><TD
174 WIDTH="33%"
175 ALIGN="left"
176 VALIGN="top"
177 ><A
178 HREF="sdlcdstop.html"
179 ACCESSKEY="P"
180 >Prev</A
181 ></TD
182 ><TD
183 WIDTH="34%"
184 ALIGN="center"
185 VALIGN="top"
186 ><A
187 HREF="index.html"
188 ACCESSKEY="H"
189 >Home</A
190 ></TD
191 ><TD
192 WIDTH="33%"
193 ALIGN="right"
194 VALIGN="top"
195 ><A
196 HREF="sdlcdclose.html"
197 ACCESSKEY="N"
198 >Next</A
199 ></TD
200 ></TR
201 ><TR
202 ><TD
203 WIDTH="33%"
204 ALIGN="left"
205 VALIGN="top"
206 >SDL_CDStop</TD
207 ><TD
208 WIDTH="34%"
209 ALIGN="center"
210 VALIGN="top"
211 ><A
212 HREF="cdrom.html"
213 ACCESSKEY="U"
214 >Up</A
215 ></TD
216 ><TD
217 WIDTH="33%"
218 ALIGN="right"
219 VALIGN="top"
220 >SDL_CDClose</TD
221 ></TR
222 ></TABLE
223 ></DIV
224 ></BODY
225 ></HTML
226 >