The one to rule them all:
This is a function I pulled from the Autohotkey forums submitted by SKAN which lists all the functions for a specified Dynamic Link Library (DLL) along with an inputbox for convenience:
copyraw
// get number of network card interfaces
DllCall("iphlpapi\GetNumberOfInterfaces", "UintP", nIf)
MsgBox % nIf
...
// get current process ID
ProcessID := DllCall("GetCurrentProcessId")
- // get number of network card interfaces
- DllCall("iphlpapi\GetNumberOfInterfaces", "UintP", nIf)
- MsgBox % nIf
- ...
- // get current process ID
- ProcessID := DllCall("GetCurrentProcessId")
Examples of DllCall'ing:
// get number of network card interfaces
DllCall("iphlpapi\GetNumberOfInterfaces", "UintP", nIf)
MsgBox % nIf
...
// get current process ID
ProcessID := DllCall("GetCurrentProcessId")
Category: AutoHotkey :: Article: 388



Add comment