SYSTEM Information


PLBCMP GUI Only

 

The GETINFO instruction retrieves the following information when the SYSTEM keyword is specified. When using an application server client, the data comes from the client.

 

Column

Size

Value

1

1

Operating system type

 

 

1 = Windows

2

1

Operating system version

 

 

0 = unknown

 

 

1 = Windows NT

 

 

2 = WIN32s Windows 3.1x (obsolete)

 

 

3 = Window 95

 

 

4 = Window 98

5 = Windows 2000

6 = Windows XP

7 = Windows Vista

8 = Windows CE

9 = Windows 7

3

2

Keyboard type

5

2

Keyboard subtype

7

2

Function key type

9

1

Pen based ? (1 = Yes)

10

1

Mouse present ? (1 = Yes)

11

1

Number of mouse buttons

12

1

Mouse buttons swapped ? (1 = Yes)

13

4

Screen width

17

4

Screen height

21

15

Computer name

36

20

User name

56

260

Windows directory

316

260

Windows system directory

576

2

Color bits

578

4

Window handle (INTEGER)

582

4

Window instance (INTEGER)

586

1

0 - no taskbar

 

 

1 - Taskbar hidden

 

 

2 - Taskbar always on top

 

 

3 - Normal Taskbar

587

4

Taskbar Top

591

4

Taskbar Bottom

595

4

Taskbar Left

599

4

Taskbar Right

603

2

Number of monitors (9.3A)

605

10

Virtual Screen Top (9.3A)

615

10

Virtual Screen Left (9.3A)

625

10

Virtual Screen Height (9.3A)

635

10

Virtual Screen Width (9.3A)

645

2

Operating System Version: (9.6A)

 00 - unknown

01 - Windows NT

02 - WIN32s Widnows 3.1x (obsolete)

03 - Windows 95 (obsolete)

04 - Windows 98 (obsolete)

05 - Windows 2000

06 - Windows XP

07 - Windows VISTA

08 - Windows CE

09 - Windows 7

10 - Windows 8 or above

647

10

Windows Major Version added in version 9.6A. For all Windows versions prior to Windows 8, this field is populated using the API described by the MSDN GetVersionEx API description. Starting with PLB version 9.7C, this field is populated using the Product Version of the 'kernel32.dll' mapped into the PLB runtime process when a Windows version 8 or newer is executing.

657

10

Windows Minor Version added in version 9.6A. For all Windows versions prior to Windows 8, this field is populated using the API described by the MSDN GetVersionEx API description. Starting with PLB version 9.7C, this field is populated using the Product Version of the 'kernel32.dll' mapped into the PLB runtime process when a Windows version 8 or newer is executing.

667

10

Windows build number added in version 9.6A. For all Windows versions prior to Windows 8, this field is populated using the API described by the MSDN GetVersionEx API description. Starting with PLB version 9.7C, this field is populated using the Product Version of the 'kernel32.dll' mapped into the PLB runtime process when a Windows version 8 or newer is executing.

677

10

Windows platform ( See MSDN GetVersionEx ) (9.6A)

687

5

Windows Major version number of the latest Service Pack installed on the system. ( See MSDN GetVersionEx ) (9.6A)

692

5

Windows Minor version number of the latest Service Pack installed on the system. ( See MSDN GetVersionEx ) (9.6A)

697

5

A bit mask that identifies the product suites available on the Windows system. ( See MSDN GetVersionEx ) (9.6A)

702

5

Additional information about the system. This field can be used in conjunction with the OS Major and Minor numbers to determine the specific Windows type being used. ( See MSDN GetVersionEx ) (9.6A)

 

See Also: GETINFO, System Interface Instructions

 



PL/B Language Reference