0
|
1 <HTML
|
|
2 ><HEAD
|
|
3 ><TITLE
|
|
4 >SDL_CDEject</TITLE
|
|
5 ><META
|
|
6 NAME="GENERATOR"
|
|
7 CONTENT="Modular DocBook HTML Stylesheet Version 1.61
|
|
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 WIDTH="100%"
|
|
32 BORDER="0"
|
|
33 CELLPADDING="0"
|
|
34 CELLSPACING="0"
|
|
35 ><TR
|
|
36 ><TH
|
|
37 COLSPAN="3"
|
|
38 ALIGN="center"
|
|
39 >SDL Library Documentation</TH
|
|
40 ></TR
|
|
41 ><TR
|
|
42 ><TD
|
|
43 WIDTH="10%"
|
|
44 ALIGN="left"
|
|
45 VALIGN="bottom"
|
|
46 ><A
|
|
47 HREF="sdlcdstop.html"
|
|
48 >Prev</A
|
|
49 ></TD
|
|
50 ><TD
|
|
51 WIDTH="80%"
|
|
52 ALIGN="center"
|
|
53 VALIGN="bottom"
|
|
54 ></TD
|
|
55 ><TD
|
|
56 WIDTH="10%"
|
|
57 ALIGN="right"
|
|
58 VALIGN="bottom"
|
|
59 ><A
|
|
60 HREF="sdlcdclose.html"
|
|
61 >Next</A
|
|
62 ></TD
|
|
63 ></TR
|
|
64 ></TABLE
|
|
65 ><HR
|
|
66 ALIGN="LEFT"
|
|
67 WIDTH="100%"></DIV
|
|
68 ><H1
|
|
69 ><A
|
|
70 NAME="SDLCDEJECT"
|
|
71 >SDL_CDEject</A
|
|
72 ></H1
|
|
73 ><DIV
|
|
74 CLASS="REFNAMEDIV"
|
|
75 ><A
|
|
76 NAME="AEN6888"
|
|
77 ></A
|
|
78 ><H2
|
|
79 >Name</H2
|
|
80 >SDL_CDEject -- Ejects a CDROM</DIV
|
|
81 ><DIV
|
|
82 CLASS="REFSYNOPSISDIV"
|
|
83 ><A
|
|
84 NAME="AEN6891"
|
|
85 ></A
|
|
86 ><H2
|
|
87 >Synopsis</H2
|
|
88 ><DIV
|
|
89 CLASS="FUNCSYNOPSIS"
|
|
90 ><A
|
|
91 NAME="AEN6892"
|
|
92 ></A
|
|
93 ><P
|
|
94 ></P
|
|
95 ><PRE
|
|
96 CLASS="FUNCSYNOPSISINFO"
|
|
97 >#include "SDL.h"</PRE
|
|
98 ><P
|
|
99 ><CODE
|
|
100 ><CODE
|
|
101 CLASS="FUNCDEF"
|
|
102 >int <B
|
|
103 CLASS="FSFUNC"
|
|
104 >SDL_CDEject</B
|
|
105 ></CODE
|
|
106 >(SDL_CD *cdrom);</CODE
|
|
107 ></P
|
|
108 ><P
|
|
109 ></P
|
|
110 ></DIV
|
|
111 ></DIV
|
|
112 ><DIV
|
|
113 CLASS="REFSECT1"
|
|
114 ><A
|
|
115 NAME="AEN6898"
|
|
116 ></A
|
|
117 ><H2
|
|
118 >Description</H2
|
|
119 ><P
|
|
120 >Ejects the given <TT
|
|
121 CLASS="PARAMETER"
|
|
122 ><I
|
|
123 >cdrom</I
|
|
124 ></TT
|
|
125 >.</P
|
|
126 ></DIV
|
|
127 ><DIV
|
|
128 CLASS="REFSECT1"
|
|
129 ><A
|
|
130 NAME="AEN6902"
|
|
131 ></A
|
|
132 ><H2
|
|
133 >Return Value</H2
|
|
134 ><P
|
|
135 >Returns <SPAN
|
|
136 CLASS="RETURNVALUE"
|
|
137 >0</SPAN
|
|
138 > on success, or <SPAN
|
|
139 CLASS="RETURNVALUE"
|
|
140 >-1</SPAN
|
|
141 > on an error.</P
|
|
142 ></DIV
|
|
143 ><DIV
|
|
144 CLASS="REFSECT1"
|
|
145 ><A
|
|
146 NAME="AEN6907"
|
|
147 ></A
|
|
148 ><H2
|
|
149 >See Also</H2
|
|
150 ><P
|
|
151 ><A
|
|
152 HREF="sdlcd.html"
|
|
153 ><SPAN
|
|
154 CLASS="STRUCTNAME"
|
|
155 >SDL_CD</SPAN
|
|
156 ></A
|
|
157 ></P
|
|
158 ></DIV
|
|
159 ><DIV
|
|
160 CLASS="NAVFOOTER"
|
|
161 ><HR
|
|
162 ALIGN="LEFT"
|
|
163 WIDTH="100%"><TABLE
|
|
164 WIDTH="100%"
|
|
165 BORDER="0"
|
|
166 CELLPADDING="0"
|
|
167 CELLSPACING="0"
|
|
168 ><TR
|
|
169 ><TD
|
|
170 WIDTH="33%"
|
|
171 ALIGN="left"
|
|
172 VALIGN="top"
|
|
173 ><A
|
|
174 HREF="sdlcdstop.html"
|
|
175 >Prev</A
|
|
176 ></TD
|
|
177 ><TD
|
|
178 WIDTH="34%"
|
|
179 ALIGN="center"
|
|
180 VALIGN="top"
|
|
181 ><A
|
|
182 HREF="index.html"
|
|
183 >Home</A
|
|
184 ></TD
|
|
185 ><TD
|
|
186 WIDTH="33%"
|
|
187 ALIGN="right"
|
|
188 VALIGN="top"
|
|
189 ><A
|
|
190 HREF="sdlcdclose.html"
|
|
191 >Next</A
|
|
192 ></TD
|
|
193 ></TR
|
|
194 ><TR
|
|
195 ><TD
|
|
196 WIDTH="33%"
|
|
197 ALIGN="left"
|
|
198 VALIGN="top"
|
|
199 >SDL_CDStop</TD
|
|
200 ><TD
|
|
201 WIDTH="34%"
|
|
202 ALIGN="center"
|
|
203 VALIGN="top"
|
|
204 ><A
|
|
205 HREF="cdrom.html"
|
|
206 >Up</A
|
|
207 ></TD
|
|
208 ><TD
|
|
209 WIDTH="33%"
|
|
210 ALIGN="right"
|
|
211 VALIGN="top"
|
|
212 >SDL_CDClose</TD
|
|
213 ></TR
|
|
214 ></TABLE
|
|
215 ></DIV
|
|
216 ></BODY
|
|
217 ></HTML
|
|
218 > |