Login
`
Templates, Tools and Utilities
|
||
Add a comment to an Icetips ArticlePlease add your comments to this article.
Please note that you must provide both a name and a valid email address in order
for us to publish your comment. Comments are moderated and are not visible until they have been approved. Spam is never approved!
Back to article list Search Articles Add Comment Printer friendly Direct link Par2: Exit windows API call 2001-12-04 -- Josh Landin Inside your Global Map embed put:
MODULE('kernel32.dll')
ExitWindowsEx(ULONG,ULONG),LONG,PASCAL,RAW
END
Then in your code where you want to shutdown, put:
IF ExitWindowsEx(BOR(1,4),0) THEN
! Unable to Shutdown, use GetLastError() to determine why.
END
Today is November 21, 2024, 7:03 am This article has been viewed 35224 times.
|
|