You are working on a COM project which isnt easy at all. Take some time and learn from a good COM tutorials
It is correct to define these values, but be sure that they are unique because the are the identifiers for creating instances of these classes.
Always remember: if errors occurs check the first non-null
return code (HRESULT) for the reason.
Like a "House of cards" lots of things can go wrong ;-)