[Previous] [Next] [Up] [Home] S3D Pascal Bindings
S3DTK_GetLastError
Provides details for a failed call.
Method of:
TS3DTK_FUNCTION_LISTSyntax:
S3DTK_GetLastError: function(
pFuncStruct: Pointer): Integer; cdecl;
Parameters:
Returns:
One of the error codes described below.
Description:
When a function returns S3DTK_ERR this function can be used right next to provide additional information about the error. Note that this function is only usable with function calls made after S3DTK_CreateRenderer.
The possible error codes are:
- S3DTK_CANTCONVERT - Cannot convert form linear to physical address.
- S3DTK_INVALIDFILTERINGMODE - Invalid filtering mode.
- S3DTK_INVALIDSURFACEFORMAT - Invalid surface format.
- S3DTK_INVALIDRENDERINGTYPE - Invalid rendering type.
- S3DTK_INVALIDVALUE - Invalid value.
- S3DTK_NULLPOINTER - Unexpected nil pointer.
- S3DTK_RENDERINGSURFISNOTSET - There is no surface set for rendering to.
- S3DTK_UNSUPPORTEDKEY - Unsupported state constant.
- S3DTK_UNSUPPORTEDMETHOD - Tried to call an unsupported method.
- S3DTK_UNSUPPORTEDVIDEOMODE - (this is really only available on DOS)
Unit: S3DTK
[Previous] [Next] [Up] [Home] S3D Pascal Bindings