// d3dumddi.h
PFND3DDDI_UPDATEOVERLAY Pfnd3dddiUpdateoverlay;
HRESULT Pfnd3dddiUpdateoverlay(
HANDLE hDevice,
const D3DDDIARG_UPDATEOVERLAY *unnamedParam2
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
The UpdateOverlay function reconfigures or moves an overlay that is being displayed.
hDeviceA handle to the display device (graphics context).
unnamedParam2pData [in]
A pointer to a D3DDDIARG_UPDATEOVERLAY structure that describes how to reconfigure the overlay.
UpdateOverlay returns one of the following values:
| Return code | Description |
|---|---|
| S_OK | The overlay is successfully modified. |
| E_OUTOFMEMORY | UpdateOverlay could not complete because of insufficient memory. |
| D3DDDIERR_NOTAVAILABLE | UpdateOverlay could not complete because insufficient bandwidth was available or the requested overlay hardware was unavailable. |
| D3DDDIERR_UNSUPPORTEDOVERLAYFORMAT | The specified overlay format is not supported by the overlay hardware. |
| D3DDDIERR_UNSUPPORTEDOVERLAY | The overlay hardware is not supported for the specified size and display mode. |
Overlays are independent from the resources that are displayed by using the overlays.