Source position: jwawingdi.pas line 4912
function GetDeviceCaps(
hdc: HDC;
nIndex: Integer
):Integer;