};
}
NS_IMETHODIMP nsRegSubtreeEnumerator::advance() {    REGERR err = REGERR_OK;    PR_Lock(mregLock);    err = NR_RegEnumSubkeys( mReg, mKey, &mNext, mName, sizeof mName, mStyle );    // See if we ran off end.    if( err == REGERR_NOMORE ) {        // Remember we've run off end.        mDone = PR_TRUE;    }    PR_Unlock(mregLock);    // Convert result.    nsresult rv = regerr2nsresult( err );    return rv;};