Heres an example:
This is the declairation, but there arnt any "Any" in .Net, Object is closer, but it would be better to overload the function/sub to handle certain conditions.
I keep trying different ways of overloading, but I get errors about expecting the end of the procedure which isnt there because its an API declaration.
Code:
Declare Sub CopyMemory Lib "kernel32.dll" Alias "RtlMoveMemory" ( _
ByRef Destination As Any, _
ByRef Source As Any, _
ByVal Length As Int32)
This is the declairation, but there arnt any "Any" in .Net, Object is closer, but it would be better to overload the function/sub to handle certain conditions.
I keep trying different ways of overloading, but I get errors about expecting the end of the procedure which isnt there because its an API declaration.