There isn't one. If you want to send multiple types to a declare
statement, you do it by overloading the declare statement. Contrived
example follows:
Private Declare Function Foo Lib "MyLib.dll" (ByRef i As Integer) As
Integer
Private Declare Function Foo Lib "MyLib.dll" (ByRef i As SomeStructure)
As Integer
.....
Private Declare Function RegQueryValueEx Lib "advapi32.dll" Alias
"RegQueryValueExA" (ByVal hKey As Long, ByVal lpValueName As String, ByVal
lpReserved As Long, ByVal lpType As Long, ByVal lpData As Any, ByVal
lpcbData As Long) As Long
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.