title: Defined constant to check ErrorCode for REGDB_E_CLASSNOTREG
body: <p>I saw <a href="https://stackoverflow.com/questions/7790203/how-to-check-errorcode-for-regdb-e-classnotreg">this answer to a similar question</a>, but it always scares me to hard-code these types of values (especially because I want my application to run on Windows and Mono). Is there a defined constant for REGDB_E_CLASSNOTREG that I can just use in the code?</p>