System Information Functions

The following functions are used to retrieve or set system information.

FunctionDescription
DnsHostnameToComputerNameConverts a DNS name to a NetBIOS name.
EnumSystemFirmwareTablesEnumerates all system firmware tables of the specified type.
ExpandEnvironmentStringsReplaces environment-variable strings with their defined values.
GetComputerNameRetrieves the NetBIOS name of the local computer.
GetComputerNameExRetrieves the NetBIOS or DNS name of the local computer.
GetComputerObjectNameRetrieves the local computer's name in a specified format.
GetCurrentHwProfileRetrieves the current hardware profile for the local computer.
GetFirmwareEnvironmentVariableRetrieves the value of the specified firmware environment variable from NVRAM.
GetKeyboardTypeRetrieves information about the current keyboard.
GetNativeSystemInfoRetrieves information about the current system for an application running under WOW64.
GetProductInfoRetrieves the product type for the operating system on the local computer, and maps the type to the product types supported by the specified operating system.
GetSysColorRetrieves the current color of a display element.
GetSystemDirectoryRetrieves the path of the system directory.
GetSystemFirmwareTableRetrieves the specified firmware table from the firmware table provider.
GetSystemInfoRetrieves information about the current system.
GetSystemMetricsRetrieves the specified system metric or system configuration setting.
GetSystemRegistryQuotaRetrieves the current size of the registry and the maximum size that the registry is allowed to attain on the system.
GetSystemWindowsDirectoryRetrieves the path of the shared Windows directory on a multi-user system.
GetSystemWow64DirectoryRetrieves the path of the system directory used by WOW64.
GetUserNameRetrieves the user name of the current thread.
GetUserNameExRetrieves the name of the user or other security principal associated with the calling thread. You can specify the format of the returned name.
GetVersionRetrieves the version number of the current operating system.
GetVersionExRetrieves information about the current operating system.
GetWindowsDirectoryRetrieves the path of the Windows directory.
IsProcessorFeaturePresentDetermines whether a processor feature is supported by the current computer.
IsWow64MessageDetermines whether the last message read from the queue of the current process originated from a WOW64 process.
IsWow64ProcessDetermines whether a process is running under WOW64.
SetComputerNameSets a new NetBIOS name for the local computer.
SetComputerNameExSets a new NetBIOS or DNS name for the local computer.
SetFirmwareEnvironmentVariableSets the value of the specified firmware environment variable in NVRAM.
SetSysColorsSets the colors for the specified display elements.
SystemParametersInfoQueries or sets system-wide parameters.
TranslateNameConverts a directory service object name from one format to another.
VerifyVersionInfoCompares a set of version requirements to the values for the current operating system.
VerSetConditionMaskBuilds the condition mask for the VerifyVersionInfo function.
Wow64DisableWow64FsRedirectionDisables file system redirection for the calling thread.
Wow64EnableWow64FsRedirectionEnables or disables file system redirection for the calling thread.
Wow64RevertWow64FsRedirectionRestores file system redirection for the calling thread.

 

Obsolete Functions

Send comments about this topic to Microsoft

Build date: 10/8/2009

Tags :


Page view tracker