Export (0) Print
Expand All

DhcpDeRegisterParamChange function

The DhcpDeRegisterParamChange function releases resources associated with previously registered event notifications, and closes the associated event handle.

Syntax


DWORD APIENTRY DhcpDeRegisterParamChange(
  _In_  DWORD Flags,
  _In_  LPVOID Reserved,
  _In_  LPVOID Event
);

Parameters

Flags [in]

Reserved. Must be set to zero.

Reserved [in]

Reserved. Must be set to NULL.

Event [in]

Must be the same value as the HANDLE variable in the DhcpRegisterParamChange function call for which the client is deregistering event notification.

Return value

Returns ERROR_SUCCESS upon successful completion. Otherwise, returns Windows error codes.

Remarks

The DhcpDeRegisterParamChange function must be made subsequent to an associated DhcpRegisterParamChange function call, and the Flags parameter and the HANDLE variable passed in the Event parameter to DhcpDeRegisterParamChange must match corresponding Flags parameter and the HANDLE variable of the previous and associated DhcpRegisterParamChange function call.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Dhcpcsdk.h

Library

Dhcpcsvc.lib

DLL

Dhcpcsvc.dll

See also

DHCP Functions
DhcpRegisterParamChange
DhcpCApiInitialize

 

 

Community Additions

ADD
Show:
© 2014 Microsoft