project BLF > class Win32Lib > method GetCurrentProcess

function returns integer

Description

Wrapper method for Win32:GetCurrentProcessId

This returns the process id of the current process.


Internal usage


BLF
method BBaseDaemonProcessor.Initialize
method Session.AppServerInfo
method tLogger.SetDebugLevel


program code (program1/win32lib.p)

RUN GetCurrentProcessId (OUTPUT viProcessId).

return viProcessId.