DhcpDeRegisterParamChange function

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

Flags

Reserved. Must be set to zero.

Reserved

Reserved. Must be set to NULL.

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

   
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