1.2.9.10 WDRV_PIC32MZW_RegDomainGet Function
WDRV_PIC32MZW_STATUS WDRV_PIC32MZW_RegDomainGet (
DRV_HANDLE handle,
const WDRV_PIC32MZW_REGDOMAIN_SELECT selection,
const WDRV_PIC32MZW_REGDOMAIN_CALLBACK pfRegDomCallback
)
C
Summary
Requests information about regulatory domains.
Description
Requests either the currently active regulatory domain or all possible regulatory domains.
Precondition
WDRV_PIC32MZW_Initialize should have been called. WDRV_PIC32MZW_Open should have been called to obtain a valid handle.
Parameters
Param | Description |
handle | Client handle obtained by a call to WDRV_PIC32MZW_Open. |
selection | Type of regulatory domain information to retrieve. |
pfRegDomCallback | Pointer to callback function to receive the information. |
Returns
WDRV_PIC32MZW_STATUS_OK - The request has been accepted. WDRV_PIC32MZW_STATUS_NOT_OPEN - The driver instance is not open. WDRV_PIC32MZW_STATUS_INVALID_ARG - The parameters were incorrect. WDRV_PIC32MZW_STATUS_REQUEST_ERROR - The request to the PIC32MZW was rejected.
Remarks
None.