|
Post by Walt Decker on Dec 28, 2022 11:49:23 GMT -5
CALLBACK -------- PURPOSE: Obtain the code address of a FUNCTION in an application through which the Windows API or a second party DLL can communicate with it. Commonly used with one of the many Windows API Enum functions. Cannot be used with any of the Windows API hook functions because LB is not fast enough to process the information. SYNTAX ------ CALLBACK CodeAddress, FunctionName(ArgumentType, ArgumentType, ....), ReturnType PARAMETERS ---------- CodeAddress: Receives the numeric point in code that begins the callback function. CodeAddress can be named anything you want. FunctionName: The name of the function with which Windows or a second party DLL will use to transmit information. ArgumentType: The type of information being transmitted by Windows or a second party DLL. Each type can be one of BOOLEAN, USHORT, SHORT, ULONG or LONG. Although Windows does not care how many arguments are in the callback function as long as they are greater than or equal to those defined by the proto-type function, LB does care; so LOOK AT THE DOCUMENTAION FOR THE FUNCTION or second party DLL. ReturnType: Can be one of BOOLEAN, USHORT, SHORT, ULONG, LONG or VOID. Commonly the return type for Windows functions is BOOLEAN. LOOK AT THE DOCUMENTATION.
|
|
gaslouk
Full Member
Hi from beautiful Greece.
Posts: 130
|
Post by gaslouk on Dec 28, 2022 14:02:05 GMT -5
Thanks Walt.
|
|