System Information Functions

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

Function Description
CeipIsOptedIn Checks whether the user has opted in for SQM data collection as part of the Customer Experience Improvement Program (CEIP).
DnsHostnameToComputerName Converts a DNS name to a NetBIOS name.
EnumSystemFirmwareTables Enumerates all system firmware tables of the specified type.
ExpandEnvironmentStrings Replaces environment-variable strings with their defined values.
GetComputerName Retrieves the NetBIOS name of the local computer.
GetComputerNameEx Retrieves the NetBIOS or DNS name of the local computer.
GetComputerObjectName Retrieves the local computer's name in a specified format.
GetCurrentHwProfile Retrieves the current hardware profile for the local computer.
GetFirmwareEnvironmentVariable Retrieves the value of the specified firmware environment variable from NVRAM.
GetFirmwareEnvironmentVariableEx Retrieves the value of the specified firmware environment variable and its attributes.
GetFirmwareType Retrieves the firmware type of the local computer.
GetIntegratedDisplaySize Retrieves the best estimate of the diagonal size of the built-in screen, in inches.
GetNativeSystemInfo Retrieves information about the current system for an application running under WOW64.
GetProductInfo Retrieves 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.
GetSystemDirectory Retrieves the path of the system directory.
GetSystemFirmwareTable Retrieves the specified firmware table from the firmware table provider.
GetSystemInfo Retrieves information about the current system.
GetSystemRegistryQuota Retrieves the current size of the registry and the maximum size that the registry is allowed to attain on the system.
GetSystemWindowsDirectory Retrieves the path of the shared Windows directory on a multi-user system.
GetSystemWow64Directory Retrieves the path of the system directory used by WOW64.
GetSystemWow64Directory2 Retrieves the path of the system directory used by WOW64, using the specified image file machine type.
GetUserName Retrieves the user name of the current thread.
GetUserNameEx Retrieves the name of the user or other security principal associated with the calling thread. You can specify the format of the returned name.
GetVersion Retrieves the version number of the current operating system.
GetVersionEx Retrieves information about the current operating system.
GetWindowsDirectory Retrieves the path of the Windows directory.
IsNativeVhdBoot Indicates if the OS was booted from a VHD container.
IsWow64GuestMachineSupported
IsProcessorFeaturePresent Determines whether a processor feature is supported by the current computer.
IsWow64Message Determines whether the last message read from the queue of the current process originated from a WOW64 process.
IsWow64Process Determines whether a process is running under WOW64.
QueryPerformanceCounter Retrieves the current value of the high-resolution performance counter.
QueryPerformanceFrequency Retrieves the frequency of the high-resolution performance counter.
RtlGetSuiteMask Retrieves a bit mask that identifies the product suites available on the system. If this function is called in an application that runs in the context of a server silo, the suite mask for the server silo is retrieved instead.
SetComputerName Sets a new NetBIOS name for the local computer.
SetComputerNameEx Sets a new NetBIOS or DNS name for the local computer.
SetFirmwareEnvironmentVariable Sets the value of the specified firmware environment variable.
SetFirmwareEnvironmentVariableEx Sets the value of the specified firmware environment variable and its attributes.
TranslateName Converts a directory service object name from one format to another.
VerifyVersionInfo Compares a set of version requirements to the values for the current operating system.
VerSetConditionMask Builds the condition mask for the VerifyVersionInfo function.
Wow64DisableWow64FsRedirection Disables file system redirection for the calling thread.
Wow64EnableWow64FsRedirection Enables or disables file system redirection for the calling thread.
Wow64RevertWow64FsRedirection Restores file system redirection for the calling thread.

 

Obsolete Functions