GetCurrentSession

long GetCurrentSession(long* SessionHandle);

 

Available (from release):

 

stPro Automation (V3-5)

 

Return Value:

 

Nonzero if successful otherwise 0.

 

Parameters:

 

Name:

Description:

SessionHandle

Handle of the current session to be fetched.

 

Remarks:

 

Call this function retrieve a handle to the current session. This handle can subsequently be used in SetCurrentSession.