Share via


DDHAL Callback Return Values

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

Negative values represent errors and cannot be combined. The following table shows the values that the functions in the DirectDraw Display Driver Reference can return. For a list of the error codes that each function can return, see the function description.

Value Description

DD_OK

The request completed successfully.

DDERR_CURRENTLYNOTAVAIL

The display driver is in power management mode.

DDERR_EXCEPTION

An exception was encountered while performing the requested operation.

DDERR_INVALIDOBJECT

DirectDraw received a pointer that was an invalid DirectDraw object.

DDERR_INVALIDPARAMS

One or more of the parameters passed to the method are incorrect.

DDERR_SURFACEBUSY

Access to the surface is refused because the surface is locked by another thread.

DDERR_UNSUPPORTED

The operation is not supported.

DDERR_VERTICALBLANKINPROGRESS

A vertical blank is in progress.

DDERR_VIDEONOTACTIVE

The video port is not active.

DDERR_WASSTILLDRAWING

The previous blit operation that is transferring information to or from this surface is incomplete.

DDHAL_DRIVER_HANDLED

The request has been dealt with, however, no specific action may have been taken.

DDHAL_DRIVER_NOCKEYHW

No hardware exists for this request.

DDHAL_DRIVER_NOTHANDLED

The request has not been dealt with in any way.

See Also

Concepts

DirectDraw Display Driver Reference
DDHAL Callback Functions