1.1.13.7 WDRV_WINC_DHCPSEnableSet
C
WDRV_WINC_STATUS WDRV_WINC_DHCPSEnableSet ( DRV_HANDLE handle, WDRV_WINC_DHCPS_IDX poolIdx, bool enabled, WDRV_WINC_DHCPS_EVENT_HANDLER pfDHCPSEventCB )
Description
Enables or disables the DHCP server.
Precondition
WDRV_WINC_Initialize
must have been called.
WDRV_WINC_Open
must have been called to obtain a valid handle.
Parameters
Parameters | Description |
---|---|
handle | Client handle obtained by a call to WDRV_WINC_Open . |
poolIdx | Pool index to set state on. |
enabled | Flag indicating if the pool should be enabled or disabled. |
pfDHCPSEventCB | Pointer to callback to receive event notifications. |
Returns
WDRV_WINC_STATUS_OK - DHCP server state was set.
WDRV_WINC_STATUS_NOT_OPEN - The driver instance is not open.
WDRV_WINC_STATUS_REQUEST_ERROR - The request to the WINC was rejected.
WDRV_WINC_STATUS_INVALID_ARG - The parameters were incorrect.
Remarks
None.