WinRestartWorkplace

This function causes the Workplace process to terminate and re-initialize.

This function is applicable to OS/2 Warp 4, or higher, and WorkSpace On-Demand client operating systems.

Syntax
BOOL32 APIENTRY WinRestartWorkplace(VOID);
 * 1) include 

Parameters
None.

Returns
rc (BOOL32) always returns FALSE.

Remarks
This function will cause the Workplace process to terminate and re-initialize. This call is useful in debugging workplace objects or for install programs that reregister system classes.

Example Code
This example terminates and re-initializes the Workplace process.