Jump to main content

##

# 1.2.5.2.35 TCPIP_MAC_ParametersGet Function

## C

    TCPIP_MAC_RES TCPIP_MAC_ParametersGet(
        DRV_HANDLE hMac,
        TCPIP_MAC_PARAMETERS* pMacParams
    );

## Description

This is a function that returns the run time parameters of the MAC driver.

## Precondtions

TCPIP_MAC_Initialize() should have been called. TCPIP_MAC_Open() should have been called to obtain a valid handle.

## Parameters

Parameters | Description
--- | ---
hMac | Handle identifying the MAC driver client.
pMacParams | Address to store the MAC parameters.

## Returns

- TCPIP_MAC_RES_OK - If pMacParams updated properly.
- TCPIP_MAC_RES_OP_ERR error code - If processing failed for some reason.

## Remarks

None.