标题:WinExec();的返回值
只看楼主
行空天马
Rank: 1
等 级:新手上路
威 望:1
帖 子:523
专家分:0
注 册:2006-5-19
 问题点数:0 回复次数:1 
WinExec();的返回值
WinExec();
的返回值好多,都是什么意思?
成功时,返回值是多少?
搜索更多相关主题的帖子: WinExec 返回值 
2006-08-25 17:53
sfezst
Rank: 1
等 级:新手上路
帖 子:25
专家分:0
注 册:2006-8-27
得分:0 

If the function succeeds, the return value is greater than 31.

If the function fails, the return value is one of the following error values:

Value Meaning
0 The system is out of memory or resources.
ERROR_BAD_FORMAT The .EXE file is invalid (non-Win32 .EXE or error in .EXE image).

ERROR_FILE_NOT_FOUND The specified file was not found.
ERROR_PATH_NOT_FOUND The specified path was not found.

MSDN上一大堆,成功返回值大于31,其他的返回值如上

2006-08-27 18:30



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




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

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