DisableProcessWindowsGhosting function

Disables the window ghosting feature for the calling GUI process. Window ghosting is a Windows Manager feature that lets the user minimize, move, or close the main window of an application that is not responding.

Syntax

void DisableProcessWindowsGhosting(

);

Parameters

This function has no parameters.

Return Value

This function does not return a value.

Remarks

After calling DisableProcessWindowsGhosting, the ghosting feature is disabled for the duration of the process.

Requirements

   
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header winuser.h
Library User32.lib
DLL User32.dll