Registers the callback function to call when there is no texture memory left.

Prototype declaration:


KMSTATUS KMAPI
kmSetTexOverflowCallback(
		IN   PKMCALLBACKFUNC    pTexOverflowCallback, 
		IN   PVOID              pCallbackArguments
);

Description:

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
Parameters:
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.
Return values:
Value Explanation
KMSTATUS_SUCCESS Success