SetHackFunction
Description
Hack FunctionÀ» µî·ÏÇÑ´Ù.
Syntax
void SetHackFunction(CVHackFunc func)
Parameters
func CVHackFunc ŸÀÔÀÇ ÇÔ¼ö Æ÷ÀÎÅÍ
Returns
None
Comments
½Ã½ºÅÛ¿¡¼ ¹ß»ýÇÏ´Â ¸ðµç À̺¥Æ®¸¦ Áß°£¿¡ °¡·Îä¾î ºÎ°¡ÀûÀÎ ±â´ÉÀ» ¼öÇàÇÒ ¼ö ÀÖµµ·Ï Çϱâ À§ÇÏ¿© Á¦°øµÇ´Â ÇÔ¼öÀÌ´Ù.
SetHackFunctionÀ» Çϱâ Àü¿¡ ÀÌ¹Ì µî·ÏµÇ¾î ÀÖÀ» ¼öµµ ÀÖ´Â Hack FunctionÀ» º¸È£Çϱâ À§ÇÏ¿© GetHackFunctionÀ» ÀÌ¿ëÇÏ¿© µû·Î ÀúÀåÀ» Çصξú´Ù°¡ ¿øÇϴ ó¸®°¡ ³¡³ µÚ¿¡´Â ´Ù½Ã ¿ø·¡ÀÇ Hack functionÀ¸·Î ´Ù½Ã SetÇÏ¿© ÁÖµµ·Ï ÇÑ´Ù.
See Also
RemoveHackFunction, GetHackFunction
Example
Boolean MyHackFunction(EventStruct *evt)
{
switch(evt->EventType) {
case PENDOWNEVENT:
return TRUE;
return FALSE;
}
void RegisterMyHackFunction(void)
{
SetHackFunction(MyHackFunction);
}