Microsoft® DirectX® Transform returns error and success notifications (return codes) to applications in the form of HRESULT values. For more information, see the HRESULT documentation in the Component Object Model (COM) section of the Platform SDK. The Platform SDK also includes information on how to use the FAILED and SUCCEEDED macros to test return values.
DirectX Transform uses facilities of Microsoft Internet Explorer 4.x or later to load images and handle error codes during image loading. For details on these error codes, consult the Internet Explorer image load documentation.
The following list contains the standard COM error and success codes used and the codes unique to DirectX Transform.
Value | Meaning |
---|---|
S_OK | Success. Numerically equivalent to NOERROR. |
NOERROR | No error. Numerically equivalent to S_OK. |
S_TRUE | Success. Condition was TRUE. |
S_FALSE | Success. Condition was FALSE. |
E_FAIL | Failure. |
E_INVALIDARG | Argument is invalid. |
E_NOTIMPL | Method is not supported. |
E_POINTER | NULL pointer argument. |
E_UNEXPECTED | Unexpected error. |
DXTERR_ALREADY_INITIALIZED | The object has already been initialized. |
DXTERR_COPYRIGHT_IS_INVALID | The copyright string set on the transform is invalid. |
DXTERR_INVALID_BOUNDS | An invalid bounds parameter was specified. |
DXTERR_INVALID_FLAGS | Invalid flags were specified. |
DXTERR_OUTOFSTACK | Out of memory. |
DXTERR_REQ_IE_DLLNOTFOUND | An Internet Explorer DLL required to run this method was not found. The possible cause might be that Internet Explorer 4.x or later is not installed. |
DXTERR_UNINITIALIZED | The object has not been initialized yet. |
DXTERR_UNSUPPORTED_FORMAT | The caller has specified an unsupported pixel format. |
Top of Page
© 2000 Microsoft and/or its suppliers. All rights reserved. Terms of Use.