Jump to content

WinRestartWorkplace: Difference between revisions

From EDM2
Ak120 (talk | contribs)
Created page with "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..."
 
No edit summary
Line 2: Line 2:


This function is applicable to OS/2 Warp 4, or higher, and [[WorkSpace On-Demand]] client operating systems.
This function is applicable to OS/2 Warp 4, or higher, and [[WorkSpace On-Demand]] client operating systems.
;Syntax
==Syntax==
  #include <os2.h>
  #include <os2.h>
  BOOL32 APIENTRY WinRestartWorkplace(VOID);
  BOOL32 APIENTRY WinRestartWorkplace(VOID);
;Parameters:None.
==Parameters==
;Returns:
None.
==Returns==
rc ([[BOOL32]]) always returns FALSE.
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.  
==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.  
<code>
<code>
  #include <os2.h>
  #include <os2.h>

Revision as of 05:39, 20 May 2018

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 <os2.h>
BOOL32 APIENTRY WinRestartWorkplace(VOID);

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.

#include <os2.h>
BOOL32 EXPENTRY WinRestartWorkplace(VOID);

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