nsresult rv = NS_InitEmbedding(localFile); NS_IF_RELEASE(localFile);
nsresult rv;
nsresult NS_InitEmbedding(const char *aPath){	// Create an object to represent the path	nsILocalFile *localFile = nsnull;	if (aPath && strlen(aPath) > 0)	{		NS_NewLocalFile(aPath, &localFile);	}    nsresult rv = NS_InitEmbedding(localFile);    NS_IF_RELEASE(localFile);    return rv;}