Sendkbdvirtualkey, Sendkbdvisualkey – Argox PT-9130 User Manual

Page 30

Advertising
background image

PT-90 Mobile Computer SDK Programming Manual 23

SendKbdVirtualKey

To send a VIRTUAL KEY to key buffer.

DWORD SendKbdVirtualKey

{

BYTE

Key

}

Parameters

Key

[in] Specifies a virtual-key code.

Returned Values

If this action succeeds, the returned value is

E_FUNC_SUCCEED

. If this action fails, possible returned value is

E_FUNC_PAR_ERROR

.

Example

CString strTemp;

strTemp = "VisualKey";

for(int i=0;i<strTemp.GetLength();i++)

SendKbdVisualKey((unsigned char)strTemp.GetAt(i));

Requirements

OS Versions: Windows CE 6.0 or beyond.

Header: sysapiax.h

Link Library: sysapiax.lib

Link DLL: sysapiax.dll
Device: PT90

Advertising