PVOID BRUSHOBJ_pvAllocRbrush(
IN BRUSHOBJ *pbo, | |
IN ULONG cj | |
); |
BRUSHOBJ_pvAllocRbrush allocates memory for the driver’s realization of a specified brush.
The return value is a pointer to the allocated memory if the function is successful. Otherwise, it is null, and an error code is logged.
BRUSHOBJ_pvAllocRbrush allocates memory for the brush realization. GDI manages the memory and discards it when the brush is no longer needed.
This function should be called only by an implementation of a brush realization following a call to DrvRealizeBrush.