wiauRegGetDword - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// wiautil.h

HRESULT wiauRegGetDwordA(
  [in]  HKEY  hkKey,
  [in]  PCSTR pszValueName,
  [out] DWORD *pdwValue
);
View the official Windows Driver Kit DDI reference
// wiautil.h

HRESULT wiauRegGetDwordW(
  [in]  HKEY   hkKey,
  [in]  PCWSTR pwszValueName,
  [out] DWORD  *pdwValue
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-wiautil-wiaureggetdworda)

Description

The wiauRegGetDword function gets a DWORD value from the DeviceData section of the registry.

Parameters

hkKey [in]

Specifies the registry key handle. This parameter should be set to the value pointed to by the phkeyDeviceDataparameter when wiauRegOpenData returns.

pszValueName [in]

Points to the first byte of a Unicode string containing the name of the registry entry.

pdwValue [out]

Pointer to a memory location that receives the returned DWORD value.

Return value

On success, the function returns S_OK. If the function fails, it returns a standard COM error.

See also

wiauRegGetStr

wiauRegOpenData


Windows Driver Kit DDI reference (nf-wiautil-wiaureggetdwordw)

wiauRegGetDwordW function

Description

The wiauRegGetDword function gets a DWORD value from the DeviceData section of the registry.

Parameters

hkKey [in]

Specifies the registry key handle. This parameter should be set to the value pointed to by the phkeyDeviceData parameter when wiauRegOpenData returns.

pwszValueName [in]

Points to the first byte of a Unicode string containing the name of the registry entry.

pdwValue [out]

Pointer to a memory location that receives the returned DWORD value.

Return value

On success, the function returns S_OK. If the function fails, it returns a standard COM error.

See also

wiauRegGetStr

wiauRegOpenData