if (aType) { *aType = NS_FORM_SELECT; return NS_OK; } else { return NS_FORM_NOTOK;
PRBool isMultiple; nsresult result = NS_OK;  result = GetMultiple(&isMultiple); if (NS_OK == result) { if (isMultiple) { aType.Assign("select-multiple"); } else { aType.Assign("select-one"); }
nsHTMLSelectElement::GetType(PRInt32* aType){  if (aType) {    *aType = NS_FORM_SELECT;    return NS_OK;  } else {    return NS_FORM_NOTOK;  }}