to use the functions defined in user32 all that you have to do is add:
at the top of your frame file and all of the dll functions that are defined in there will be able to be called as any other 4Test function. Note that not all the functions in user32.dll are defined in the include file. If you need another function you can define it as in the instructions form the previous post. You can use the existing function declarations as examples of how you deal with the datatypes.
Also keep in mind that you can't can't use all functions, just the ones that that use datatypes that 4Test supports.
User Jaimini Bhatt (email@example.com) posted:
1, Include the necessary .inc files
For example: msw32.inc. This file contains information about other 32-bit windows .inc files that we may use for other dlls.
I would have the following statement in my .inc file
This file contains information about the following files:
mswconst.inc - to declare constants you pass to DLL functions. They can be styple bits, message box flags, flags used by other functions that return some properties or values
2. Declare the Dll's with their function prototypes the syntax is:
BOOL MemManInfo (out MEMMANINFO MemManInfo)// this is the function prototype