Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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

 

 

Community Additions

ADD
Show:
© 2015 Microsoft