Retrieve Window Data (QsnRtvWinDta) API


  Required Parameter:


  Omissible Parameter Group:


  Returned Value:


  Default Public Authority: *USE

  Service Program: QSNAPI

  Threadsafe: No

The Retrieve Window Data (QsnRtvWinDta) API returns a pointer to the user data for the given window.


Authorities and Locks

None.


Required Parameter

Window handle
INPUT; BINARY(4)

A handle for the window for which the user data should be returned.


Omissible Parameter Group

User data pointer
OUTPUT; PTR(SPP)

A space pointer to the user data field supplied in the user extension information when the window was defined. If no user data is associated with the window, the null pointer is returned.

Error code
I/O; CHAR(*)

The structure in which to return error information. For the format of the structure, see Error code parameter. If this parameter is omitted, diagnostic and escape messages are issued to the application.


Returned Value

User data pointer
OUTPUT; PTR(SPP)

This API returns the value for the user data pointer parameter, or the null pointer if an error occurs.


Error Messages



API introduced: V2R3

[ Back to top | Dynamic Screen Manager APIs | APIs by category ]