Constructor
GioWin32OutputStreamnew
since: 2.26
Declaration [src]
GOutputStream*
g_win32_output_stream_new (
void* handle,
gboolean close_handle
)
Description [src]
Creates a new GWin32OutputStream for the given handle.
If close_handle, is TRUE, the handle will be closed when the
output stream is destroyed.
Available since: 2.26
Parameters
handle-
Type:
void*A Win32 file handle.
The argument can be NULL.The data is owned by the caller of the function. close_handle-
Type:
gbooleanTRUEto close the handle when done.
Return value
Type: GOutputStream
A new GOutputStream.
| The caller of the function takes ownership of the data, and is responsible for freeing it. |