DIB_GetCharWidth

WORD DIB_GetCharWidth(LPPDEVICE lpDestDev, LPWORD lpBuffer, 
    WORD wFirstChar, WORD wLastChar, LPFONTINFO lpFontInfo, 
    LPDRAWMODE lpDrawMode, LPTEXTXFORM lpFontTrans)
 

Computes the widths of each character within the given range and copies the widths to the buffer pointed to by the lpBuffer parameter.

lpDestDev
Address of a PDEVICE or PBITMAP structure specifying the destination device or bitmap.
lpBuffer
Address of the buffer to receive the character widths. The buffer must be an array of 16-bit elements. There must be one element for each character in the range.
wFirstChar
The first character of the range.
wLastChar
The last character of the range.
lpFontInfo
Address of a FONTINFO structure that specifies the physical font from which to compute the character widths.
lpDrawMode
Address of a DRAWMODE structure that specifies the current text color, background mode, background color, text justification, and character spacing that may need to be applied to the font to compute a character width.
lpFontTrans
Address of a TEXTXFORM structure that specifies any font transformations, such as scaling and italicizing, that may need to be applied to the font to compute a character width.

The export ordinal for this function is 15.