rv = LaunchApplication(param, closure->height, closure->width);
rv = LaunchApplication(param, closure->height, closure->width, &closure->windowOpened);
void startupPrefEnumerationFunction(const char *prefName, void *data){  nsresult rv;  PRBool prefValue = PR_FALSE;  if (!data || !prefName) return;  StartupClosure *closure = (StartupClosure *)data;#ifdef DEBUG_CMD_LINE  printf("getting %s\n", prefName);#endif /* DEBUG_CMD_LINE */  rv = closure->prefs->GetBoolPref(prefName, &prefValue);  if (NS_FAILED(rv)) return;#ifdef DEBUG_CMD_LINE  printf("%s = %d\n", prefName, prefValue);#endif /* DEBUG_CMD_LINE */  PRUint32 prefixLen = PL_strlen(PREF_STARTUP_PREFIX);  // if the pref is "general.startup.", ignore it.  if (PL_strlen(prefName) <= prefixLen) return;  if (prefValue) {    // skip past the "general.startup." part of the string    const char *param = prefName + prefixLen;#ifdef DEBUG_CMD_LINE    printf("cmd line parameter = %s\n", param);#endif /* DEBUG_CMD_LINE */    rv = LaunchApplication(param, closure->height, closure->width);  }  return;}