构造函数
GioWin32InputStreamnew
声明 [源]
GInputStream*
g_win32_input_stream_new (
void* handle,
gboolean close_handle
)
描述 [源]
为指定的 handle
创建一个新的 GWin32InputStream
。
如果 close_handle
设置为 TRUE
,则在流关闭时将关闭句柄。
注意,这里的“handle”指的是Win32的HANDLE,而不是在Windows C库中使用的“文件描述符”。
返回值
类型: GInputStream
一个新的 GWin32InputStream
。
函数的调用者负责数据的所有权,并负责释放它。 |