Get Session Status

3270 5250 VT
Yes Yes Yes
The Get Session Status function returns the status of the connected session. The client sends the following message to request session status:
PostMessage( hServerWnd,
             WM_DDE_REQUEST,
             hClientWnd,
             MAKELPARAM(cfFormat, aSSTAT) );
where:
cfFormat
Identifies the DDE format for the status information. The value used is CF_TEXT.
aSSTAT
Identifies session status as the data item requested.