Share via


DDHAL Callback Return Values (Windows Embedded CE 6.0)

1/6/2010

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

DDHAL Reference
DirectDraw Display Driver Reference
DDHAL Callback Functions