im_get_config_info
4-13
4
im_get_config_info
Purpose
This function retrieves the current computer configuration information string
and its length. The command code is passed in as a string, and the current
configuration is returned in the same string.
Syntax
#include "imt209x.h"
IM_STATUS im_get_config_info
(IM_UCHAR far *
config,
IM_USHORT far *
length);
IN Parameters
None.
IN/OUT
Parameters
config As input, this parameter is the desired computer command (two
characters) and should be NULL terminated. You can pass in several
command codes at one time. As output, this parameter contains the requested
configuration information string. The first two characters specify the
configuration command returned. Any subsequent characters specify the
configuration options currently set. For example, to get the beep duration
setting, set config to “BD”. The function returns BD and the current
configuration for beep duration. The user of this function must ensure that this
character pointer points to a block of memory large enough to fit the returned
NULL terminated configuration information string.
OUT Parameters
length Length of the configuration information string.
Return Value
This function returns one of these codes:
IM_SUCCESS Successfully parsed and returned configuration info string.
IM_UNKNOWN_CONFIG Unable to parse configuration request string.
IM_ERROR_TOO_BIG_FOR_BUFFER Returned for “DC” configuration
request string which is unsupported due to the large amount of
information that this configuration request string would require.
Notes
For a list of the configuration commands, see Chapter 6.
This function differs from im_command in that you only pass the two-
character command identifier. The im_command function passes an entire
command string.
See Also
im_command
Summary of Contents for Trakker T2090
Page 1: ...TRAKKER T2090Batch Hand HeldComputer P N 067212 003 User s Manual ...
Page 4: ......
Page 14: ......
Page 19: ...Getting Started 1 ...
Page 20: ......
Page 33: ...User Interface 2 ...
Page 34: ......
Page 55: ...Application Development 3 ...
Page 56: ......
Page 61: ...Application Functions 4 ...
Page 62: ......
Page 127: ...Reader Command Reference 5 ...
Page 128: ......
Page 145: ...Configuration Command Reference 6 ...
Page 146: ......
Page 187: ...BIOS Support 7 ...
Page 188: ......
Page 205: ...Hardware Specifications 8 ...
Page 206: ......
Page 212: ......
Page 213: ...Demo Software A ...
Page 214: ......
Page 230: ......
Page 231: ...Microsoft Visual C C Settings B ...
Page 232: ......
Page 237: ...Full ASCII Charts C ...
Page 238: ......