Calling API routines from Access generally takes at least two steps, sometimes three, as follows:
Declare the function in the Declarations section of a module.
Create a wrapper routine to call the routine.
Make the call to the API routine.
A wrapper routine is a VBA routine that sets up the necessary environment for calling the routines, such as needed variables. In some cases, you can skip this step by simply calling the routine directly where it is needed.
The syntax for the last two steps is very much like those when calling VBA routines. The interesting step is the first one, the declaration of an API routine. (You might have noticed that the terms routines and calls have been used rather ...