IAPI::RegistryReadValue

property RegistryReadValue.

Reads an existing string value from the Registry.

 

HRESULT RegistryReadValue(
  BSTR regFullKeyName,
  long OSBits,
  BSTR *pVal
);

Parameters

regFullKeyName

[in] Full keyname of the Registry.

OSBits

[in,defaultvalue(32)] Win32 (by default) or Win64 (64) registry hives reading.

pVal

[out, retval] The returned string value

Return Values

S_OK

The operation was successfull.

E_POINTER

A NULL pointer was supplied as an argument.

E_UNEXPECTED

An unexpected error occoured.

See Also

IAPI