◄CDC► ◄Up► ◄Contents► ◄Index► ◄Back► ──Microsoft Foundation Classes────────────────────────────────────────────── Windows 3.1 only int GetKerningPairs( int nPairs, KERNINGPAIR FAR* lpkrnpair ) const; Parameter Description <nPairs> Specifies the number of KERNINGPAIR structures pointed to by <lpkrnpair>. The function will not copy more kerning pairs than specified by <nPairs>. <lpkrnpair> Points to an array of KERNINGPAIR structures that receive the kerning pairs when the function returns. This array must contain at least as many structures as specified by <nPairs>. If this parameter is NULL, the function returns the total number of kerning pairs for the font. Remarks Retrieves the character kerning pairs for the font that is currently selected in the specified device context. Return Value The return value specifies the number of kerning pairs retrieved or the total number of kerning pairs in the font, if the function is successful. Zero is returned if the function fails or there are no kerning pairs for the font. See Also ◄::GetKerningPairs►, KERNINGPAIR -♦-