开发者

how to set system ip programmatically

开发者 https://www.devze.com 2023-01-10 09:37 出处:网络
C++ how to programmatically change system IP... and if the the account has Limited Rights how t开发者_StackOverflowo use the password to perform the taskTake a look at this link on msdn.I believe t

C++

how to programmatically change system IP...

and if the the account has Limited Rights how t开发者_StackOverflowo use the password to perform the task


Take a look at this link on msdn. I believe the function you should look into is:

DWORD AddIPAddress(
  __in   IPAddr Address,
  __in   IPMask IpMask,
  __in   DWORD IfIndex,
  __out  PULONG NTEContext,
  __out  PULONG NTEInstance
);
0

精彩评论

暂无评论...
验证码 换一张
取 消