Device Manage for OS/2

DevCon for OS/2 - Developer Connection

Operating systems:
ArcaOS, eComStation, IBM OS/2 Warp
eComStation myths 

(Unsorted)  
 
 
Compilers  
 
 
Tools  
 
 
REXX  
 
 
Drivers/kernel  
 
 

 

 

WinRestartWorkplace

Purpose

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

#include 

BOOL32 APIENTRY WinRestartWorkplace(VOID);

Parameters

None.

Returns
rc (BOOL32) - returns
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.

#include 
BOOL32 EXPENTRY WinRestartWorkplace(VOID);

/* Terminate and re-initialize the Workplace process */
WinRestartWorkplace();

 


 

(C) OS2.GURU 2001-2024