DhcpDeRegisterParamChange function (dhcpcsdk.h)

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

Syntax

DWORD DhcpDeRegisterParamChange(
  [in] DWORD  Flags,
  [in] LPVOID Reserved,
  [in] LPVOID Event
);

Parameters

[in] Flags

Reserved. Must be set to zero.

[in] Reserved

Reserved. Must be set to NULL.

[in] Event

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

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header dhcpcsdk.h
Library Dhcpcsvc.lib
DLL Dhcpcsvc.dll

See also

DHCP Functions

DhcpCApiInitialize

DhcpRegisterParamChange