Windows API Calls for Powerbuilder 5.0

¹®Á¦

GetCurrentThread( )

ÇØ°á

This function returns the current thread’s handle. There is no Powerbuilder equivalent.

Global External Function:
FUNCTION ulong GetCurrentThread() LIBRARY "Kernel32.dll"

Script:
ulong rtn
rtn = GetCurrentThread()
MessageBox("Current Thread Handle", string(rtn))

 

ÂüÁ¶