Angiotensin-converting enzyme inhibitors and angiotensin II receptor blockers reduced dementia risk in patients with diabetes mellitus and hypertension.