The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

FusionInventory::Agent::Tools::Win32 - Windows generic functions

DESCRIPTION

This module provides some Windows-specific generic functions.

FUNCTIONS

is64bit()

Returns true if the OS is 64bit or false.

getValueFromRegistry($path, $logger)

Returns a value from the registry. The function returns undef in case of error.

the $path parameter is a string in this format : $hive/location/keyname

E.g: HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows NT/CurrentVersion/ProductName

The delimiter is '/

If the $logger parameter is defined, it will be used.