WinRUICleanup()

Terminates and deregisters an application from the RUI API.

BOOL WINAPI WinRUICleanup (void);

Syntax

BOOL WINAPI WinRUICleanup (void);

The return value indicates success or failure of the deregistration. If the value is not 0, the application was successfully deregistered. If the value is 0, the application was not deregistered.

Returned Values

The return value indicates success or failure of the deregistration. If the value is not 0, the application was successfully deregistered. If the value is 0, the application was not deregistered.

Use WinRUICleanup to deregister the RUI API, for example, to free up resources allocated to the specific application.

If WinRUICleanup is called while LUs are in session (RUI_TERM not issued), the cleanup code issues RUI_TERM close type ABEND for the application for all open sessions. See also: WinRUIStartup().

Usage Notes

Use WinRUICleanup to deregister the RUI API, for example, to free up resources allocated to the specific application.

If WinRUICleanup is called while LUs are in session (RUI_TERM not issued), the cleanup code issues RUI_TERM close type ABEND for the application for all open sessions. See also: WinRUIStartup().