Where can I find documentation that describes the meaning of error codes returned by regsvr32, such as 0x80070716?
                
                A: 
                
                
              I think it means you don't have adequate permissions. See winerror.h:
#define FRS_ERR_INSUFFICIENT_PRIV        8007L
And this on interpreting HRESULTs.
Edit:
Wrong bits, it's actually:
#define ERROR_RESOURCE_NAME_NOT_FOUND    1814L
                  bshields
                   2010-08-16 13:56:52
                
              Ah, I think it's the lower two bytes which are significant: 0x0716.
                  emddudley
                   2010-08-16 14:01:28
                Yup, I edited the answer.
                  bshields
                   2010-08-16 14:10:38
                
                
                A: 
                
                
              
            The error is defined in winerror.h. As described in the Interpreting HRESULT Values link that bshields provided, the lowest 15 bits are the error code.
In my case the error code is 0x0716, which is 1814L. In winerror.h this error code corresponds to ERROR_RESOURCE_NAME_NOT_FOUND.
                  emddudley
                   2010-08-16 14:07:13