Share via


OALKitlStringToMAC (Compact 2013)

10/16/2014

This function converts a string to a MAC address.

Syntax

BOOL OALKitlStringToMAC(
  LPCWSTR szMAC,
  UINT16 mac[]
);

Parameters

  • szMac
    [in] Specifies the string representing a MAC address.
  • mac
    [out] Receives the MAC address.

Return Value

Returns TRUE if the conversion is successful. Otherwise, it returns FALSE.

Requirements

Header

oal_kitl.h

Library

Developer Implemented

See Also

Reference

KITL Functions for Ethernet Drivers
KITL Functions for Production-Quality OAL