Hospital masks by itself would not help prevent things like SARS. In Toronto, health care workers were getting infected even after following the strictest protocols.
If there was definite evidence that wearing masks helped prevent catching flu, at the very least you would see them used in occupations where the cost of an employee being out with the flu for a week is very high. Since we don't see this, they are probably ineffective.