1 // Licensed under the Apache License, Version 2.0
2 // <LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
3 // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your option.
4 // All files in the project carrying such notice may not be copied, modified, or distributed
5 // except according to those terms.
6 use shared::basetsd::{UINT16, ULONG64};
7 use shared::minwindef::ULONG;
8 STRUCT!{struct NET_LUID_LH {
9     Value: ULONG64,
10 }}
11 BITFIELD!{NET_LUID_LH Value: ULONG64 [
12     Reserved set_Reserved[0..24],
13     NetLuidIndex set_NetLuidIndex[24..48],
14     IfType set_IfType[48..64],
15 ]}
16 pub type PNET_LUID_LH = *mut NET_LUID_LH;
17 pub type NET_LUID = NET_LUID_LH;
18 pub type PNET_LUID = *mut NET_LUID;
19 pub type NET_IFINDEX = ULONG;
20 pub type PNET_IFINDEX = *mut ULONG;
21 pub type NET_IFTYPE = UINT16;
22 pub type PNET_IFTYPE = *mut UINT16;
23