请大家瞧一下里面的代码 win32check什么意思
procedure TMainForm.btnExitClick(Sender: TObject);
begin
case rgExitOptions.ItemIndex of
0: Win32Check(ExitWindows(0, 0)); // Exit and log on as a
// different user.
1: Win32Check(ExitWindowsEx(EWX_REBOOT, 0)); // Exit/Reboot
2: Win32Check(ExitWindowsEx(EWX_SHUTDOWN, 0));// Exit to Power Off
// Exit/Log off/Log on as different user
3: Win32Check(ExitWindowsEx(EWX_LOGOFF, 0));
end;
end;
end.