I have a library function that returns GetLastError codes (things like these). I need to compare them with specific errors, like ERROR_INVALID_HANDLE
. However I don't feel comfortable to define the constants myself. So the question is, is there a predefined enumeration for this purpose?
No, you'll have to make your own.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With