WNDOBJ_vSetConsumer

VOID WNDOBJ_vSetConsumer(

WNDOBJ *pwo,
PVOID pvConsumer
);

The WNDOBJ_vSetConsumer callback function sets a driver-defined value in the pvConsumer field of the specified WNDOBJ.

Parameters

pwo

Points to a WNDOBJ structure created by a prior call to EngCreateWnd.

pvConsumer

A driver-defined value for identifying this particular WNDOBJ. This value overrides the previous value stored in the WNDOBJ.

Comments

WNDOBJ_vSetConsumer should be called only by the following functions:

·DDI functions where a WNDOBJ is provided.

·The callback provided to GDI by a driver's call to EngCreateWnd.

·The WNDOBJ_SETUP escape defined by DrvEscape after a new WNDOBJ is created.

See Also

EngCreateWnd, WNDOBJ