If the following restrictions are not satisfied, the API will fail. The return code indicates the reason for the failure.

Some members in the PAGEINFO structure might be valid or supported only for specific session types. If a restriction is not specified, then that member is valid or supported for the following session types:
  • 3270 display
  • 3270 printer
  • 5250 display
5250 printer sessions are not supported.