Specifies a callback function to be called during a Vsync wait state.

Prototype declaration:


KMSTATUS KMAPI
kmSetWaitVsyncCallback(
		IN   PKMCALLBACKFUNC    pWaitVsyncCallback, 
		IN   PVOID              pCallbackArguments
);

Description:

This function specifies a callback function to be called during a Vsync wait state.
It is used when reading from CD-ROM is carried out in the background or when processing is
performed asynchronously with other V periods.
Do not try to call too large function or to use an endless loop in a callback.
	
	VOID WaitVsyncCallbackFunc(PVOID pCallbackArguments);

pCallbackArguments(input): Pointer to the parameter set at the specification
Parameters:
pWaitVsyncCallback(input)
        This parameter is a pointer to the function in a Vsync wait state.

pCallbackArguments(input)
        This parameter is a pointer to an argument to be passed to the function called at callback.
Return values:
Value Explanation
KMSTATUS_SUCCESS Success