网站首页  词典首页

请输入您要查询的函数:

 

术语 postqueuedcompletionstatus
释义 PostQueuedCompletionStatus
语法:
C++
BOOL WINAPI PostQueuedCompletionStatus(
__in HANDLE CompletionPort,
__in DWORD dwNumberOfBytesTransferred,
__in ULONG_PTR dwCompletionKey,
__in_opt LPOVERLAPPED lpOverlapped
);
PostQueuedCompletionStatus功能
帖子一个I / O完成包到一个I / O完成端口。
参数
CompletionPort [in]
句柄到一个I / O完成端口而I / O完成包被张贴。
dwNumberOfBytesTransferred [in]
的值要返回通过GetQueuedCompletionStatus功能lpNumberOfBytesTransferred参数。
dwCompletionKey [in]
的值要返回通过GetQueuedCompletionStatus功能lpCompletionKey参数。
lpOverlapped [中,可选]
的值要返回通过GetQueuedCompletionStatus功能lpOverlapped参数。
返回值
如果函数成功,返回值为非零。
如果函数失败,返回值是零。为了获得更多错误信息,调用GetLastError。
备注
在I / O完成包能够满足对优秀的GetQueuedCompletionStatus函数调用。作为调用的第二,第三和第四个参数PostQueuedCompletionStatus通过三个值这个函数返回。该系统不使用或验证这些值。特别是,lpOverlapped参数不必指向一个OVERLAPPED结构。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderWinBase.h(头文件:winuser.h)
LibraryKernel32.lib
DLLKernel32.dll
参见
CreateIoCompletionPort
文件管理函数
GetQueuedCompletionStatus
的OVERLAPPED
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年9月3日
==英文原文==PostQueuedCompletionStatus Function
Posts an I/O completion packet to an I/O completion port.
Syntax
C++
BOOL WINAPI PostQueuedCompletionStatus(
__in HANDLE CompletionPort,
__in DWORD dwNumberOfBytesTransferred,
__in ULONG_PTR dwCompletionKey,
__in_opt LPOVERLAPPED lpOverlapped
);
Parameters
CompletionPort [in]
A handle to an I/O completion port to which the I/O completion packet is to be posted.
dwNumberOfBytesTransferred [in]
The value to be returned through the lpNumberOfBytesTransferred parameter of the GetQueuedCompletionStatus function.
dwCompletionKey [in]
The value to be returned through the lpCompletionKey parameter of the GetQueuedCompletionStatus function.
lpOverlapped [in, optional]
The value to be returned through the lpOverlapped parameter of the GetQueuedCompletionStatus function.
Return Value
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero. To get extended error information, call GetLastError .
Remarks
The I/O completion packet will satisfy an outstanding call to the GetQueuedCompletionStatus function. This function returns with the three values passed as the second, third, and fourth parameters of the call to PostQueuedCompletionStatus. The system does not use or validate these values. In particular, the lpOverlapped parameter need not point to an OVERLAPPED structure.
Requirements
Minimum supported clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
HeaderWinBase.h (include Windows.h)
LibraryKernel32.lib
DLLKernel32.dll
See Also
CreateIoCompletionPort
File Management Functions
GetQueuedCompletionStatus
OVERLAPPED
Send comments about this topic to Microsoft
Build date: 9/3/2009
==原始网址==http://msdn.microsoft.com/en-us/library/aa365458(VS.85).aspx\n
随便看

 

windows api函数参考手册包含2258条windows api函数文档,详细介绍nodejs、java、rust调用windows api的方法技巧,是学习windows api编程的入门中文文档。

 

Copyright © 2004-2023 Winrtm.com All Rights Reserved
京ICP备2021023879号-40 更新时间:2024/10/6 13:23:51