Edit

Share via


EngDeleteWnd function (winddi.h)

The EngDeleteWnd function deletes a WNDOBJ structure.

Syntax

ENGAPI VOID EngDeleteWnd(
  WNDOBJ *pwo
);

Parameters

pwo

Pointer to the WNDOBJ structure to be deleted.

Return value

None

Remarks

Because deleting a window object involves locking window resources, EngDeleteWnd should be called only in the context of the WNDOBJ_SETUP escape in DrvEscape, or from an MCD or ICD escape.

A driver can call EngDeleteWnd to remove its WNDOBJ structure associated with a window regardless of whether the window continues to exist. This is useful when the driver is being dynamically unloaded by the system while the associated window still exists.

Requirements

Requirement Value
Minimum supported client Available in Windows 2000 and later versions of the Windows operating systems.
Target Platform Universal
Header winddi.h (include Winddi.h)
Library Win32k.lib
DLL Win32k.sys

See also

EngCreateWnd

WNDOBJ