Error 0x00040000

Value: 262144 | 0x00040000 | 262144

What does it mean ?

Use the registry database to provide the requested information
Value: 0 | 0x0000 | 0b0000000000000000

Where does it come from ?

COM/OLE Interface management. FACILITY_ITF is designated for user-defined error codes returned from interface methods
Value: 4 | 0x004 | 0b00000100

Other Errors for FACILITY_ITF