[Previous] [Next] [Up] [Home] S3D Pascal Bindings

S3DTK_InitLib

Initialize the library.

Syntax:

function S3DTK_InitLib(
  lParam: ULONG): ULONG; cdecl;

Parameters:

Returns:

S3DTK_OK if successful, S3DTK_3DCAPNOTSUPPORTED if the hardware does not support 3D rendering, S3DTK_CANTCONVERT if the linear address of the video buffer cannot be determined (this shouldn't happen under Windows) or S3DTK_NOS3KERNEL if the kernel device driver is not installed (in case you distribute the S3DTKW.DLL yourself but rely on the driver to be preinstalled.

Note:

After calling this function to initialize the library you should call S3DTK_CreateRenderer to create the renderer and obtain the functions for performing rendering calls.

Unit: S3DTK

See Also:

S3DTK_CreateRenderer, S3DTK_ExitLib


[Previous] [Next] [Up] [Home] S3D Pascal Bindings