msi: A progid who is its own parent cannot have a clsid.

This commit is contained in:
James Hawkins 2008-05-02 03:45:32 -05:00 committed by Alexandre Julliard
parent b779aac8cf
commit 33c3bdeb03
1 changed files with 2 additions and 0 deletions

View File

@ -971,6 +971,8 @@ static LPCWSTR get_clsid_of_progid( const MSIPROGID *progid )
{
if (progid->Class)
return progid->Class->clsid;
if (progid->Parent == progid)
break;
progid = progid->Parent;
}
return NULL;