Partager via


OALKitlStringToMAC (Windows Embedded CE 6.0)

1/5/2010

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
Windows Embedded CE Windows CE 5.0 and later

See Also

Reference

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