Microsoft Office 2000/Visual Basic Programmer's Guide |
Although calling DLL functions is in many ways similar to calling VBA functions, there are differences that may make DLL functions confusing at first. This section addresses how arguments are typed and prefixed in DLL functions, how to return a string, how to pass a data structure, what return values you can expect, and how to retrieve error information.