Microsoft Windows CE 3.0  

Return Values

Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Errors are represented by negative values and cannot be combined. This table lists the values that can be returned by the functions in the DirectDraw DDK. 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_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.


 Last updated on Tuesday, July 13, 2004

© 2004 Microsoft Corporation. All rights reserved.