I can't see to find a way to add an active/dynamic arp entry.
This all started with old Win32 exe that calls the SetIpNetEntry API to create a dynamic/active arp entry as part of a process to setup the IP address on some embedded hardware. the SetIpNetEntry api returns a success code but no entry is created. (This code of course works fine on Win XP.)
I then tried to create one by hand via
netsh interface ip add neighbors interface=10 address="IpAddr" neighbor="MacAddr" store=active
This creates and arp entry but the type created is permenent. It seems to just ignore the store=active.
At this point I can't seem to find a way from a command line or API to create a active/dynamic entry. I don't want a permenent entry since if the setup program has a problem I don't want this assignment left on the system forever. I just need it for about 15 seconds to assign an IP address.