函数参考


_WinAPI_GetApplicationRestartSettings

Retrieves the restart information registered for the specified process.

#Include <WinAPIEx.au3>
_WinAPI_GetApplicationRestartSettings ( [$PID] )

参数

$PID [可选参数] The PID of the process. Default (0) is the current process.

返回值

Success The array that contains the following information:
[0] The restart command line.
[1] The flags.
失败: 返回 0 并设置 @error 标志为非 0 值, @extended 标志可能包含一个系统错误代码.

注意/说明

This information is available only for the current processyou cannot call _WinAPI_GetApplicationRestartSettings()
function after your program is restarted to get the restart command line.

本函数需要 Windows Vista 或更高版本系统.

相关

详情参考

在MSDN中搜索