Jump to content

KEYBOARDINFO: Difference between revisions

From EDM2
No edit summary
Ak120 (talk | contribs)
mNo edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
== KEYBOARDINFO ==
The query keyboard structure.
The query keyboard structure.


=== Type ===
=== Type ===
 
  [[ULONG]]  len;
  [[OS2 API:DataType:ULONG|ULONG]]  len;
  [[USHORT]]  kbid;
  [[OS2 API:DataType:USHORT|USHORT]]  kbid;
  USHORT  version;
  [[OS2 API:DataType:USHORT|USHORT]] version;
  [[BYTE]]    language[2];
  [[OS2 API:DataType:BYTE|BYTE]]    language[2];
  BYTE    country[2];
  [[OS2 API:DataType:BYTE|BYTE]]   country[2];
  USHORT  flags;
  [[OS2 API:DataType:USHORT|USHORT]] flags;
  USHORT  resv;
  [[OS2 API:DataType:USHORT|USHORT]] resv;
  [[UniChar]] description[32];
  [[OS2 API:DataType:UniChar|UniChar]] description[32];


==== C declaration method ====
==== C declaration method ====
typedef struct
typedef struct


=== Fields ===
=== Fields ===
;len:Structure's length.
;kbid:Keyboard architecture identifier.
;version:Version number.
;language:Normal language.
;country:Normal country.
;flags:Flags.
;resv:Reserved.
;description:Description of keyboard.


len        Structure's length.
[[Category:Data type]]
kbid        Keyboard architecture identifier.
version    Version number.
language    Normal language.
country    Normal country.
flags      Flags.
resv        Reserved.
description Description of keyboard.
 
=== Comment ===
 
 
 
[[OS2_API | Back to OS/2 API]]
 
 
[[Category:The OS/2 API Project]]

Latest revision as of 14:02, 24 May 2017

The query keyboard structure.

Type

ULONG   len;
USHORT  kbid;
USHORT  version;
BYTE    language[2];
BYTE    country[2];
USHORT  flags;
USHORT  resv;
UniChar description[32];

C declaration method

typedef struct

Fields

len
Structure's length.
kbid
Keyboard architecture identifier.
version
Version number.
language
Normal language.
country
Normal country.
flags
Flags.
resv
Reserved.
description
Description of keyboard.