Windows API Calls for Powerbuilder 5.0

¹®Á¦

ExitWindowsEx( )

ÇØ°á

This function sends a call to the Windows OS telling it to shut down. This function is especially good for increasing the security of your application. There is no Powerbuilder equivalent.

Global External Function:
FUNCTION boolean ExitWindowsEx(uint dwReserved, uint uReserved) LIBRARY "User32.dll"

Script:
boolean rtn
rtn = ExitWindowsEx(0,0) // Zero’s tell it to shut down immediately.

 

ÂüÁ¶