Function Key - CipherLab 9400 Series User Manual

Hide thumbs Also See for 9400 Series:
Table of Contents

Advertisement

9400 .NET Programming

3.5.5 FUNCTION KEY

GetKeyFuncKeyState
Purpose
To find out the current state of the [FN] key.
Syntax
int GetKeyFuncKeyState (ref byte state);
Parameters
state
[in][out] A byte variable that stores the information.
Example for C#
int b1 = 0;
byte funstate = new byte();
b1 = Cipherlab.SystemAPI.Member.GetKeyFuncKeyState(ref funstate);
Example for VB
Dim funstate As New Byte
Cipherlab.SystemAPI.Member.GetKeyFuncKeyState(funstate)
Return Value
If successful, it returns 1.
Otherwise, it returns 0.
Remarks
System default is 0.
See Also
GetKeyPadFullKeyState, GetKeyPadFuncKeyLock
SetKeyFuncKeyState
Purpose
To set the state of the [FN]
Syntax
int SetKeyFuncKeyState (byte state);
Parameters
state
[in] Byte variable
Example for C#
int b1 = 0;
b1 = Cipherlab.SystemAPI.Member.SetKeyFuncKeyState(1);
Example for VB
Cipherlab.SystemAPI.Member.SetKeyFuncKeyState(1)
Return Value
If successful, it returns 1.
Otherwise, it returns 0.
See Also
SetKeyPadFullKeyLock, SetKeyPadFuncKeyLock
142
Guide
0
Function mode disabled
1
Function mode enabled
Call GetErrorCode() to find the error condition encountered:
1
(Get Key Handle Fail)
0
Disable function mode
1
Enable function mode
Call GetErrorCode() to find the error condition encountered:
1
(Get Key Handle Fail)
key.

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the 9400 Series and is the answer not in the manual?

Table of Contents