Dhcpv6CApiInitialize function (dhcpv6csdk.h)

The Dhcpv6CApiInitialize function must be the first function call made by users of DHCPv6. The function prepares the system for all other DHCPv6 function calls. Other DHCPv6 functions should only be called if the Dhcpv6CApiInitialize function executes successfully.

Syntax

void Dhcpv6CApiInitialize(
  [out] LPDWORD Version
);

Parameters

[out] Version

Pointer to the DHCPv6 version implemented by the client. If a valid pointer is passed, the DHCPv6 client will be returned through it.

Return value

Returns ERROR_SUCCESS upon successful completion.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps | UWP apps]
Minimum supported server Windows Server 2008 [desktop apps | UWP apps]
Target Platform Windows
Header dhcpv6csdk.h

See also

DHCP Functions

Dhcpv6CApiCleanup