I'm not familiar with .NET calls at all, but very willing to learn how to use them in AHK. If it's a similar DllCall(x,x,x,x) function to how I use the PacDrive. Then I shouldn't have any problem with it.
Currently I address and call the PacDrive (LED Controller) with the following code (extracted from my code notes);
; Uses of the PacDrive.dll
; First, Load the Library with DllCall("LoadLibrary", "str", "PacDrive.dll")
; Then Initialize the PacDrive with DllCall("PacDrive.dll\PacInitialize")
; To set the LEDs as a whole use DllCall("PacDrive.dll\PacSetLEDStates",Int,0,UShort,0) - Note (integer, pacdrive ID, short integer, decimal value for LEDs)
; To set induvidual LEDs, use DllCall("PacDrive.dll\PacSetLEDState",Int,0,Int,0,Int,1) - Note (integer, pacdrive ID, integer, pin0, integer, 1 means ON)
If usage is similar to this, then I'm ready to rock
