NPI_MODULEID structure
The NPI_MODULEID structure defines the data for identifying a network module.
Syntax
typedef struct _NPI_MODULEID {
USHORT Length;
NPI_MODULEID_TYPE Type;
union {
GUID Guid;
LUID IfLuid;
};
} NPI_MODULEID, *PNPI_MODULEID;
Members
Length
The size, in bytes, of the NPI_MODULEID structure.Type
The type of network module identifier. This must be one of the following:MIT_GUID
The network module is identified by using a GUID.MIT_IF_LUID
The network module is identified by using an IF_LUID.
A network module can use either type of network module identifier to identify itself.
Guid
A GUID-typed member that uniquely identifies the network module. Used when the Type member is set to MIT_GUID.IfLuid
An IF_LUID-typed member that uniquely identifies the network module. Used when the Type member is set to MIT_IF_LUID. The IF_LUID data type is defined as:typedef UINT64 IF_LUID, *PIF_LUID;
Remarks
A network module uses an NPI_MODULEID structure to uniquely identify itself when it registers itself with the NMR.
The ModuleId member of the NPI_REGISTRATION_INSTANCE structure points to an NPI_MODULEID structure.
A network module must make sure that the memory for the NPI_MODULEID structure that identifies the network module remain valid and resident in memory as long as the network module is registered with the NMR.
Requirements
Version |
Available in Windows Vista and later versions of the Windows operating systems. |
Header |
Netiodef.h (include Netioddk.h) |
See also