EngDeleteWnd function

The EngDeleteWnd function deletes a WNDOBJ structure.

Syntax


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

Target platform

Universal

Version

Available in Windows 2000 and later versions of the Windows operating systems.

Header

Winddi.h (include Winddi.h)

Library

Win32k.lib

DLL

Win32k.sys

See also

EngCreateWnd
WNDOBJ

 

 

Send comments about this topic to Microsoft

Show: