TL;DR
Functions are not present until Win8. The Win8 version (I examined version 6.2.9200.16433) does nothing useful. It seems safe to ignore these functions if they're not present in dhcpcsvc6.DLL
.
Explanation:
- Statically linking requires Win8 SDK (already built into VS2012).
- VS2010 with Win7 SDK won't compile.
- When compiled with Win8 SDK, the compiled exe won't run on Win7, saying
The procedure entry point Dhcpv6CApiInitialize could not be located in the dynamic link library dhcpcsvc6.DLL
. That means that the functions are indeed exported fromdhcpcsvc6.DLL
. - Win8 version of the DLL does contain these functions.
_Dhcpv6CApiInitialize@4
essentially just puts 2 to output parameter:
10004199: mov edi,edi // Standard Hotpatch spot
1000419B: push ebp // Standard Prologue
1000419C: mov ebp,esp // Standard Prologue
1000419E: mov eax,dword ptr [ebp+8] // eax <- param0
100041A1: test eax,eax // if (param0 == 0)
100041A3: je 100041AB // return;
100041A5: mov dword ptr [eax],2 // *param0 = 2;
100041AB: pop ebp // Standard epilogue
100041AC: ret 4 // end of function
_Dhcpv6CApiCleanup@0
does nothing at all:
100041B6: ret