Prototype declaration:
KMSTATUS KMAPI kmSetTexOverflowCallback( IN PKMCALLBACKFUNC pTexOverflowCallback, IN PVOID pCallbackArguments );
Description:
Parameters:This function registers the callback function to call when an attempt is being made to register a texture while there is no texture memory left. Code the callback function in the following format: VOID TexOverflowCallbackFunc(PVOID pCallbackArguments); pCallbackArguments(input): Pointer to the parameter set at the specification
Return values:pTexOverflowCallback(input) This parameter is a pointer to the callback function to be called at texture overflow. pCallbackArguments(input) This parameter is a pointer to argument to be passed to the function called at callback.
Value Explanation KMSTATUS_SUCCESS Success