acSystemGetInterfaceMacAddressStr

Function acSystemGetInterfaceMacAddressStr 

Source
pub unsafe extern "C" fn acSystemGetInterfaceMacAddressStr(
    hSystem: acSystem,
    index: usize,
    pMacAddress: *mut c_char,
    pBufLen: *mut usize,
) -> AC_ERROR
Expand description

@fn AC_ERROR AC_API acSystemGetInterfaceMacAddressStr(acSystem hSystem, size_t index, char* pMacAddress, size_t* pBufLen)

@param hSystem

  • Type: acSystem
  • [In] parameter
  • The system object

@param index

  • Type: size_t
  • [In] parameter
  • Index of the interface

@param pMacAddress

  • Type: char*
  • [Out] parameter
  • Accepts null
  • MAC address as a colon-separated string

@param pBufLen

  • Type: size_t*
  • [In/out] parameter
  • (In) Length of the buffer
  • (Out) Length of the value

@return

  • Type: AC_ERROR
  • Error code for the function
  • Returns AC_ERR_SUCCESS (0) on success

acSystemGetInterfaceMacAddressStr gets the MAC address of a interface on the network, returning it as a string.