Damit ermittelst du aber nicht die Mac-Adresse eines Netzwerkadapters
mit CoCreateGUID erzeugst du siehe
SDK
Zitat von
SDK:
CoCreateGuid
------------
Creates a
GUID, a unique 128-bit integer used for CLSIDs and interface identifiers.
------------
The CoCreateGuid function calls UuidCreate (documented in the RPC Programmer's Guide and Reference), which creates a
GUID, a globally unique 128-bit integer used for CLSIDs and interface IDs. To a very high degree of certainty, this function returns a unique value - no other invocation, on the same or any other system (networked or not) should return the same value.
zudem ist mir aufgefallen, das bei Mehrmaligem Aufruf dieser Funktion das höchstwertige Byte inkrementiert wird, was somit nicht der MAC entsprechen kann