System Information Functions

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

Function

Description

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.

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.

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.

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.

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 in NVRAM.

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

 


http://msdn.microsoft.com/en-us/library/ms724953(v=VS.85).aspx

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值