MFC 250691:
Return one-based key so that user can check if the key is ever allocated
in the first place.