Platform SDK: Network Management |
The DhcpUndoRequestParams function removes persistent requests previously made with a DhcpRequestParams function call.
DWORD APIENTRY DhcpUndoRequestParams( DWORD dwFlags, LPVOID pReserved, LPWSTR pszAdapterName, LPWSTR pszRequestIdStr );
Persistent requests are typically made by the setup or installer process associated with the application. When appropriate, the setup or installer process would likely make the DhcpUndoRequestParams function call to cancel its associated persistent request.
Returns ERROR_SUCCESS upon successful completion. Otherwise, returns Win32 error codes.
Windows NT/2000: Requires Windows 2000.
Header: Declared in Dhcpcsdk.h.
Library: Use Dhcpcsvc.lib.
DHCP Overview, DHCP Functions, DhcpCApiInitialize, DhcpRequestParams