<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=KOI8-R" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<tt> PPACKET_OID_DATA pOidData;<br>
CHAR *pStr;<br>
pStr = new CHAR[sizeof(PACKET_OID_DATA)+128];<br>
ZeroMemory(pStr, sizeof(PACKET_OID_DATA)+128);<br>
pOidData = (PPACKET_OID_DATA) pStr;<br>
pOidData->Oid = OID_802_3_CURRENT_ADDRESS;<br>
pOidData->Length = 6;<br>
result = PacketRequest(lpAdapter, FALSE, pOidData);<br>
/* pOidData->Data[0], pOidData->Data[1], ...- this is MAC*/<br>
<br>
<br>
I don't know if it work with current 3.1 version.<br>
<br>
<br>
</tt><br>
Bhuvanes V wrote:
<blockquote
cite="mida9099e90604110649w21f731aagc9ca6940208b7a68@mail.gmail.com"
type="cite">
<p>Hi All,<br>
Can anyone please guide me how to get the mac address of<br>
Adapters connected in a local machine. I know we have APIs to get the <br>
device list.<br>
1) What is the API to get Mac Addresses of those device list?
<br>
2) Usage of those APIs.</p>
<p>Thanks in Advance :)</p>
<p>Bhuvan</p>
<p></p>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
Winpcap-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Winpcap-users@winpcap.org">Winpcap-users@winpcap.org</a>
<a class="moz-txt-link-freetext" href="https://www.winpcap.org/mailman/listinfo/winpcap-users">https://www.winpcap.org/mailman/listinfo/winpcap-users</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="80">--
Best regards. Vasily Borovyak <a class="moz-txt-link-rfc2396E" href="mailto:vbor@isd.dp.ua"><vbor@isd.dp.ua></a></pre>
</body>
</html>