Int 2F Fn 170A - Ms Windows "winoldap" - Get Device Capabilities [W]

AX = 170Ah
DX = GDI information index (see #2413)

Return: AX = integer value of the desired item
(see #2414,#2415,#2416,#2417,#2418,#2419,#2420)

Note: This function returns the device-capability bits for the given display

(Table 2413)
Values for GDI information index:
00h device driver version
02h device classification
04h width in mm
06h height in mm
08h width in pixels
0Ah height in pixels
0Ch bits per pixel
0Eh number of bit planes
10h number of brushes supported by device
12h number of pens supported by device
14h number of markers supported by device
16h number of fonts supported by device
18h number of colors
1Ah size required for device descriptor
1Ch curve capabilities
1Eh line capabilities
20h polygon capabilities
22h text capabilities
24h clipping capabilities
26h bitblt capabilities
28h X aspect
2Ah Y aspect
2Ch length of hypotenuse of aspect
58h logical pixels per inch of width
5Ah logical pixels per inch of height

See Also: #2414,#2415,#2416,#2417,#2418,#2419,#2420

(Table 2414)
Values for device classification:
00h vector plotter
01h raster display
02h raster printer
03h raster camera
04h character-stream, PLP
05h Metafile, VDM
06h display-file

See Also: #2413,#2415,#2416,#2417,#2418,#2419,#2420

Bitfields for curve capabilities:
Bit(s) Description (Table 2415)
0 circles
1 pie wedges
2 chord arcs
3 ellipses
4 wide lines
5 styled lines
6 wide styled lines
7 interiors

See Also: #2413,#2414,#2416,#2417,#2418,#2419,#2420

Bitfields for line capabilities:
Bit(s) Description (Table 2416)
1 polylines
2 markers
3 polymarkers
4 wide lines
5 styled lines
6 wide styled lines
7 interiors

See Also: #2413,#2414,#2415,#2417,#2418,#2419,#2420

Bitfields for polygon capabilities:
Bit(s) Description (Table 2417)
0 polygons
1 rectangles
2 trapezoids
3 scanlines
4 wide borders
5 styled borders
6 wide styled borders
7 interiors

See Also: #2413,#2414,#2415,#2416,#2418,#2419,#2420

Bitfields for text capabilities:
Bit(s) Description (Table 2418)
0 output precision character
1 output precision stroke
2 clippping precision stroke
3 90-degree character rotation
4 arbitrary character rotation
5 independent X and Y scaling
6 double-size
7 integer scaling
8 continuous scaling
9 bold
10 italic
11 underline
12 strikeout
13 raster fonts
14 vector fonts
15 reserved

See Also: #2413,#2414,#2415,#2416,#2417,#2419,#2420

(Table 2419)
Values for clipping capabilities:
00h none
01h clipping to rectangles

See Also: #2413,#2414,#2415,#2416,#2417,#2418,#2420

Bitfields for raster capabilities:
Bit(s) Description (Table 2420)
0 simple bitBLT
1 device requires banding support
2 device requires scaling support
3 supports >64K bitmap

See Also: #2413,#2414,#2415,#2416,#2417,#2418,#2419