Getregistrynetworkname(); Getregistrypowermode() - Intermec 700 Series 700 User Manual

Monochrome mobile computer
Hide thumbs Also See for 700 Series 700:
Table of Contents

Advertisement

Chapter
7
Programming

GetRegistryNetworkName()

GetRegistryPowerMode()

284
This routine gets the SSID (Network Name) from the registry for the spe-
cified configuration number. The receiving buffer is at least 33 characters
long.
Syntax
int GetRegistryNetworkName( int ProfileNumber, TCHAR*
szNetworkName );
Parameters
ProfileNumber
[in] An integer value that specifies which
szNetworkName
[out] Pointer to the Network Name receiving buffer.
Returns
This returns a NULL if successful or a non-zero value if an error occurs.
This routine retrieves the power management state from the registry for
the specified configuration number.
Syntax
int GetRegistryPowerMode( int ProfileNumber, BOOL*
PowerMode );
Parameters
ProfileNumber
[in] This is an integer value that specifies which
PowerMode
[out] Power management state.
Returns
This returns a NULL if successful or a non-zero value if an error occurs.
700 Series Monochrome Mobile Computer User's Manual
configuration number the user wants to read.
Valid values are CONFIG_01, CONFIG_02,
CONFIG_03, and CURRENT_CONFIG.
CURRENT_CONFIG returns the currently
active network name stored in the registry.
The character string returned can be fron 1 to
32 characters and is NULL terminated.
Receiving buffer should be at least 33 characters
in length.
configuration number the user wants to read.
Valid values are CONFIG_01, CONFIG_02,
CONFIG_03, and CURRENT_CONFIG.
CURRENT_CONFIG gets the value of the
currently active configuration.
S 1 = Enabled
S 0 = Disabled

Advertisement

Table of Contents
loading

Table of Contents