// d3dumddi.h
PFND3DDDI_UPDATEOVERLAYCB Pfnd3dddiUpdateoverlaycb;
HRESULT Pfnd3dddiUpdateoverlaycb(
HANDLE hDevice,
const D3DDDICB_UPDATEOVERLAY *unnamedParam2
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
The pfnUpdateOverlayCb function modifies a kernel-mode overlay object.
hDeviceA handle to the display device (graphics context).
unnamedParam2pData [in]
A pointer to a D3DDDICB_UPDATEOVERLAY structure that describes how to modify the overlay.
pfnUpdateOverlayCb returns one of the following values:
| Return code | Description |
|---|---|
| S_OK | The overlay object was successfully modified. |
| D3DDDIERR_NOTAVAILABLE | pfnUpdateOverlayCb failed because of a lack of overlay hardware or bandwidth. |
| E_INVALIDARG | Parameters were validated and determined to be incorrect. |
| E_OUTOFMEMORY | pfnUpdateOverlayCb could not allocate memory that was required for it to complete. |
This function might also return other HRESULT values.