ACR89U-A1 – Reference Manual
Version 1.04
www.acs.com.hk
Page 51 of 57
Example: (
Not available for preliminary API
)
4.2.5.2. AS_ConfigureKeyPad (Definition of API is at preliminary stage)
This function configures the keypad of the ACR89.
AS_STATUS AS_DECL
AS_ConfigureKeyPad
(
IN INT nDevId,
IN PKEYPADCONFIG pKeypadConfig,
OUT PKEYPADSTATUS pKeypadStatus);
Parameters:
nDevId
[in] Handle returned by a previous call to
AS_Open
.
pKeypadConfig
[in] Pointer to
KEYPADCONFIG
structure that specifies keypad configuration to
set in ACR89 keypad. See also
Section 4.1.2.1
for more information about the
KEYPADCONFIG
structure.
pKeypadStatus
[out] Pointer to
KEYPADSTATUS
structure that saves the current keypad
configuration. See also
Section 4.1.3.3
for more information about the
KEYPADSTATUS
structure.
Return Values:
AS_STATUS
This functions returns different values depending on whether it succeeds or fails.
AS_STATUS.DllError
contains the status as returned by the DLL.
AS_STATUS.W32Error
contains the Win32 error code associated with the DLL
error, if any. See also
Appendix A
for the possible return codes.
N/A