nsCOMTypeInfo<nsIDirectoryEnumerator>::GetIID(),
NS_GET_IID(nsIDirectoryEnumerator),
NS_NewDirectoryEnumerator(nsIFile* parent, PRBool resolveSymlinks, nsIDirectoryEnumerator** enumerator){    nsresult rv = nsComponentManager::CreateInstance(NS_DIRECTORY_ENUMERATOR_PROGID,                                          nsnull,                                          nsCOMTypeInfo<nsIDirectoryEnumerator>::GetIID(),                                          (void**)enumerator);             if (NS_SUCCEEDED(rv) && *enumerator)    {        (*enumerator)->Init(parent, resolveSymlinks);    }    return rv;}