标题:如何取得WaitForSingleObject的返回值
取消只看楼主
Mycr
Rank: 1
等 级:新手上路
帖 子:203
专家分:0
注 册:2006-9-18
 问题点数:0 回复次数:0 
如何取得WaitForSingleObject的返回值
ValueMeaning
WAIT_ABANDONEDThe specified object is a mutex object that was not released by the thread that owned the mutex object before the owning thread terminated. Ownership of the mutex object is granted to the calling thread, and the mutex is set to nonsignaled.
WAIT_OBJECT_0The state of the specified object is signaled.
WAIT_TIMEOUTThe time-out interval elapsed, and the object's state is nonsignaled.


上面是WaitForSingleObject函数的返回值,那么我该怎么取得,并且把它打印出来呢?
搜索更多相关主题的帖子: 返回值 
2007-11-24 12:46



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-188053-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.467935 second(s), 8 queries.
Copyright©2004-2025, BCCN.NET, All Rights Reserved