~ubuntu-branches/ubuntu/vivid/glib2.0/vivid-proposed

« back to all changes in this revision

Viewing changes to docs/reference/gio/html/gio-GWin32InputStream.html

  • Committer: Package Import Robot
  • Author(s): Andreas Henriksson
  • Date: 2014-03-24 20:58:34 UTC
  • mfrom: (1.66.13)
  • Revision ID: package-import@ubuntu.com-20140324205834-8hsgok8k36ftocqa
Tags: 2.40.0-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
57
57
</tr>
58
58
<tr>
59
59
<td class="function_type">
60
 
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
 
60
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
61
61
</td>
62
62
<td class="function_name">
63
63
<a class="link" href="gio-GWin32InputStream.html#g-win32-input-stream-get-close-handle" title="g_win32_input_stream_get_close_handle ()">g_win32_input_stream_get_close_handle</a> <span class="c_punctuation">()</span>
106
106
<a name="g-win32-input-stream-new"></a><h3>g_win32_input_stream_new ()</h3>
107
107
<pre class="programlisting"><a class="link" href="GInputStream.html" title="GInputStream"><span class="returnvalue">GInputStream</span></a> *
108
108
g_win32_input_stream_new (<em class="parameter"><code><span class="type">void</span> *handle</code></em>,
109
 
                          <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> close_handle</code></em>);</pre>
 
109
                          <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> close_handle</code></em>);</pre>
110
110
<p>Creates a new <a class="link" href="gio-GWin32InputStream.html#GWin32InputStream" title="struct GWin32InputStream"><span class="type">GWin32InputStream</span></a> for the given <em class="parameter"><code>handle</code></em>
111
111
.</p>
112
112
<p>If <em class="parameter"><code>close_handle</code></em>
113
 
 is <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, the handle will be closed
 
113
 is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, the handle will be closed
114
114
when the stream is closed.</p>
115
115
<p>Note that "handle" here means a Win32 HANDLE, not a "file descriptor"
116
116
as used in the Windows C libraries.</p>
130
130
</tr>
131
131
<tr>
132
132
<td class="parameter_name"><p>close_handle</p></td>
133
 
<td class="parameter_description"><p><a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to close the handle when done</p></td>
 
133
<td class="parameter_description"><p><a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to close the handle when done</p></td>
134
134
<td class="parameter_annotations"> </td>
135
135
</tr>
136
136
</tbody>
147
147
<a name="g-win32-input-stream-set-close-handle"></a><h3>g_win32_input_stream_set_close_handle ()</h3>
148
148
<pre class="programlisting"><span class="returnvalue">void</span>
149
149
g_win32_input_stream_set_close_handle (<em class="parameter"><code><a class="link" href="gio-GWin32InputStream.html#GWin32InputStream" title="struct GWin32InputStream"><span class="type">GWin32InputStream</span></a> *stream</code></em>,
150
 
                                       <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> close_handle</code></em>);</pre>
 
150
                                       <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> close_handle</code></em>);</pre>
151
151
<p>Sets whether the handle of <em class="parameter"><code>stream</code></em>
152
152
 shall be closed
153
153
when the stream is closed.</p>
167
167
</tr>
168
168
<tr>
169
169
<td class="parameter_name"><p>close_handle</p></td>
170
 
<td class="parameter_description"><p><a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to close the handle when done</p></td>
 
170
<td class="parameter_description"><p><a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to close the handle when done</p></td>
171
171
<td class="parameter_annotations"> </td>
172
172
</tr>
173
173
</tbody>
178
178
<hr>
179
179
<div class="refsect2">
180
180
<a name="g-win32-input-stream-get-close-handle"></a><h3>g_win32_input_stream_get_close_handle ()</h3>
181
 
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
 
181
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
182
182
g_win32_input_stream_get_close_handle (<em class="parameter"><code><a class="link" href="gio-GWin32InputStream.html#GWin32InputStream" title="struct GWin32InputStream"><span class="type">GWin32InputStream</span></a> *stream</code></em>);</pre>
183
183
<p>Returns whether the handle of <em class="parameter"><code>stream</code></em>
184
184
 will be
200
200
</div>
201
201
<div class="refsect3">
202
202
<a name="id-1.4.7.20.7.4.6"></a><h4>Returns</h4>
203
 
<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the handle is closed when done</p>
 
203
<p> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the handle is closed when done</p>
204
204
<p></p>
205
205
</div>
206
206
<p class="since">Since 2.26</p>