Previous Next

EngDeleteWnd

The EngDeleteWnd function deletes a WNDOBJ structure.

VOID
  EngDeleteWnd(
    IN WNDOBJ  *pwo
    );

Parameters

pwo
Pointer to the WNDOBJ structure to be deleted.

Return Value

None

Headers

Declared in winddi.h. Include winddi.h.

Comments

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.

See Also

EngCreateWnd, WNDOBJ