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

  • NtQuerySystemInformation
  • ZwQuerySystemInformation

 

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

你可能感兴趣的:(windows,File,Security,application,System,Path)