A.3.9 NiiUndi.c File

Example A-21-Network Interface Identifier Protocol implementation template

/** @file
<<BriefDescription>>
<<DetailedDescription>>
<<Copyright>>
<<License>>
**/
#include "<<DriverName>>.h"
///
/// Network Interface Identifier Protocol instance
///
GLOBAL_REMOVE_IF_UNREFERENCED
EFI_NETWORK_INTERFACE_IDENTIFIER_PROTOCOL g<<DriverName>>Nii = {
EFI_NETWORK_INTERFACE_IDENTIFIER_PROTOCOL_REVISION, // Revision
0, // Id
0, // ImageAddr
0, // ImageSize
{ 'U', 'N', 'D', 'I' }, // StringId
EfiNetworkInterfaceUndi, // Type
PXE_ROMID_MAJORVER, // MajorVer
PXE_ROMID_MINORVER, // MinorVer
FALSE, // Ipv6Supported
0 // IfNum
};