nsresult rv = NS_OK;  if (nsnull == aResult) { rv = NS_ERROR_NULL_POINTER; } else { *aResult = PR_FALSE; }  return rv;
return IsCommandEnabled ( "cmd_copy", aResult );
nsWebShell::CanCopySelection(PRBool* aResult){  nsresult rv = NS_OK;  if (nsnull == aResult) {    rv = NS_ERROR_NULL_POINTER;  } else {    *aResult = PR_FALSE;  }  return rv;}