How do you embed two different styles of the same font in WIndows?

I have a custom font I want to embed. It has a “Regular” style and a “Medium” style (which I want to use for bold). So it’s actually two TTF files; two different Binary assets.

I am basically following this tutorial, but it only has one font and one binary font asset:

       static const Font getCustomFont()
            static auto typeface = Typeface::createSystemTypefaceFor (BinaryData::CustomFont, BinaryData::CustomFont_size);
            return Font (typeface);

I can successfully embed the “Regular” style, but how do I access the “Medium” version? Do I have to have another function i.e. getCustomFontMedium()?