NS_IMETHODIMP nsRegistryValue::GetValueType( uint32 *result ) {
NS_IMETHODIMP nsRegistry::GetValueType( Key baseKey, const char *path, uint32 *result ) {
NS_IMETHODIMP nsRegistryValue::GetValueType( uint32 *result ) {    nsresult rv = NS_OK;    // Make sure we have room for th result.    if( result ) {        // Make sure we've got the info we need.        rv = getInfo();        // Check if it worked.        if( rv == NS_OK ) {            // Convert result from REGINFO to nsIRegistry::ValueInfo.            reginfo2DataType( mInfo, *result );        }    } else {        rv = NS_ERROR_NULL_POINTER;    }    return rv;}