> On Feb 21, 2022, at 7:31 PM, Michael Van Canneyt via fpc-pascal
> <[email protected]> wrote:
>
> Hm. I'm not sure that this code does what you need.
>
> But masking is indeed not in the helpers.
>
Try it yourself, it does indeed work. How else are you supposed to test these
kinds of bit flag APIs where all the flags are OR'd together into an LongWord?
A type helper would be great because clearly this stuff is hard to remember.
Regards,
Ryan Joseph
_______________________________________________
fpc-pascal maillist - [email protected]
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal