MACFRAME union
The MACFRAME structure is a union of the most common initial protocols.
typedef union {
LPBYTE MacHeader;
LPETHERNET Ethernet;
LPTOKENRING Tokenring;
LPFDDI Fddi;
} MACFRAME, *LPMACFRAME;
-
MacHeader
-
Generic pointer to a frame.
-
Ethernet
-
Ethernet pointer to a frame.
-
Tokenring
-
Token ring pointer to a frame.
-
Fddi
-
FDDI pointer to a frame.
This structure is most frequently used as an overlay. To make the properties of the first protocol accessible, cast the frame as the same type as the protocol.
Requirement | Value |
---|---|
Minimum supported client |
Windows 2000 Professional [desktop apps only] |
Minimum supported server |
Windows 2000 Server [desktop apps only] |
Header |
|