Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DhcpCApiInitialize function

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

Syntax


DWORD APIENTRY DhcpCApiInitialize(
  _Out_ LPDWORD Version
);

Parameters

Version [out]

Pointer to the DHCP version implemented by the client.

Return value

Returns ERROR_SUCCESS upon successful completion.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps | Windows Store apps]

Minimum supported server

Windows 2000 Server [desktop apps | Windows Store apps]

Header

Dhcpcsdk.h

Library

Dhcpcsvc.lib

DLL

Dhcpcsvc.dll

See also

DHCP Functions
DhcpCApiCleanup

 

 

Show:
© 2016 Microsoft