Share via


SystemState.CheckRegistryValueUInt32 Method

Applies To: Windows 8.1

Retrieves an unsigned 32-bit integer (unsigned REG_DWORD) value from the registry.

Namespace: Microsoft.Assessments.Runtime
Assembly: Microsoft.Assessments.Core (in Microsoft.Assessments.Core.dll)

Usage

'Usage
Dim instance As SystemState
Dim keyRoot As RegistryKey
Dim keyPath As String
Dim valueName As String
Dim returnValue As UInteger

returnValue = instance.CheckRegistryValueUInt32(keyRoot, keyPath, valueName)

Syntax

'Declaration
Public Function CheckRegistryValueUInt32 ( _
    keyRoot As RegistryKey, _
    keyPath As String, _
    valueName As String _
) As UInteger
public uint CheckRegistryValueUInt32 (
    RegistryKey keyRoot,
    string keyPath,
    string valueName
)
public:
unsigned int CheckRegistryValueUInt32 (
    RegistryKey^ keyRoot, 
    String^ keyPath, 
    String^ valueName
)
public UInt32 CheckRegistryValueUInt32 (
    RegistryKey keyRoot, 
    String keyPath, 
    String valueName
)
public function CheckRegistryValueUInt32 (
    keyRoot : RegistryKey, 
    keyPath : String, 
    valueName : String
) : uint

Parameters

  • keyRoot
    A handle to the root of the registry key.
  • keyPath
    The registry value path.
  • valueName
    The registry value name.

Return Value

Returns UInt32.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows 8.1

See Also

Reference

SystemState Class
SystemState Members
Microsoft.Assessments.Runtime Namespace