Share via


ISpDataKey::GetDWORD (Windows CE 5.0)

Send Feedback

This method gets the value information from a specified token.

HRESULT GetDWORD(  const WCHAR* pszKeyName,  DWORD* pdwValue);

Parameters

  • pszKeyName
    [in] Pointer to a null-terminated string specifying the name of the token.
  • pdwValue
    [out] Pointer to the value information retrieved.

Return Values

The following table shows the possible return values.

Value Description
S_OK Function completed successfully.
E_INVALIDARG pszKeyName is invalid or bad.
E_POINTER pdwValue is invalid or bad.
SPERR_NOT_FOUND Registry key not found.
FAILED(hr) Appropriate error message.

Requirements

OS Versions: Windows CE .NET 4.1 and later.
Header: sapi.h, sapi.idl.
Link Library: Sapilib.lib.

See Also

ISpDataKey | SAPI Interfaces

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.