WNDOBJCHANGEPROC

VOID CALLBACK WNDOBJCHANGEPROC(

    WNDOBJ *pwo,

    FLONG fl

   );

WNDOBJCHANGEPROC is a driver-defined callback function that GDI uses to notify the driver of changes to the window in question. The pfn parameter of the EngCreateWnd function points to this function.

Parameters

pwo
Points to a WNDOBJ structure that defines the currently changing window object. The window object contains the new size and position of the window. If the fl parameter is WOC_CHANGED, this parameter is null.
fl
This parameter can be one of the following values:

Value

Meaning

WOC_RGN_CLIENT_DELTA

The window object contains a delta client region. The delta region is valid for this call only.

WOC_RGN_CLIENT

The window object contains a new client region.

WOC_RGN_SURFACE_DELTA

The window object contains a delta surface region. The pvConsumer member of the WNDOBJ structure is zero. The delta region is valid for this call only.

WOC_RGN_SURFACE

The window object refers to a surface region created by GDI. The pvConsumer member of the WNDOBJ structure is zero.

WOC_CHANGED

All windows have been updated. GDI notifies the driver at the end of a desktop update.

WOC_DELETE

The window object is deleted as a result of the deletion of the window.

See Also

EngCreateWnd, WNDOBJ