Group: Font and Text - Library: gdi32
The GetTextCharacterExtra function retrieves the current intercharacter spacing for the specified device context.
int GetTextCharacterExtra(
HDC hdc // handle to DC
);
DECLARE INTEGER GetTextCharacterExtra IN gdi32;
INTEGER hdc
hdc [in] Handle to the device context.
If the function succeeds, the return value is the current intercharacter spacing, in logical coordinates. If the function fails, the return value is 0x8000000.