9400 .NET Programming
3.5 KEYPAD
3.5.1 KEYPAD TYPE
GetKeypadType
Purpose
To find out the keypad type on 9400.
Syntax
int GetKeypadType (ref byte keypadLayout);
Parameters
keypadLayout
[in][out] A byte variable that stores the information.
Example for C#
int b1 = 0;
byte keypadtype = new byte();
b1 = Cipherlab.SystemAPI.Member.GetKeypadType(ref keypadtype);
Example for VB
Dim keypadtype As New Byte
Cipherlab.SystemAPI.Member.GetKeypadType(keypadtype)
Return Value
If successful, it returns 1.
Otherwise, it returns 0.
136
Guide
0
28-key layout
1
59-key layout
Call GetErrorCode() to find the error condition encountered:
1
(Get Key Handle Fail)
Need help?
Do you have a question about the 9400 Series and is the answer not in the manual?