CreateFont is one of those functions, you figure out once and then copy and paste whenever you need it again. Most of the arguments should be default values. Something like this should work:
Code:
const INT ITEM_POINT_SIZE = 9;
HDC hdc = GetDC(hwnd);
INT nFontHeight = MulDiv(ITEM_POINT_SIZE, GetDeviceCaps(hdc, LOGPIXELSY), 72);
HFONT hFont = CreateFont(nFontHeight, 0, 0, 0, FW_NORMAL, FALSE, FALSE, FALSE, DEFAULT_CHARSET, OUT_DEFAULT_PRECIS,
CLIP_DEFAULT_PRECIS, DEFAULT_QUALITY, DEFAULT_PITCH | FF_DONTCARE, TEXT("MS Shell Dlg"));
ReleaseDC(hwnd, hdc);