pub fn construct(num: NUM, thread: bool, input: bool, additive: bool) ULONG_PTR
num: NUM
thread: bool
input: bool
additive: bool
79 80 81 82 83 84 85
pub fn construct(num: NUM, thread: bool, input: bool, additive: bool) ULONG_PTR { var val: ULONG_PTR = @backingInt(num); if (thread) val |= 0x10000; if (input) val |= 0x20000; if (additive) val |= 0x40000; return val; }