다음을 통해 공유


ISpDataKey::SetDWORD (Windows Embedded CE 6.0)

1/6/2010

This method sets the value information for a specified attribute.

Syntax

HRESULT SetDWORD(
  const WCHAR* pszKeyName
  DWORD dwValue
);

Parameters

  • pszKeyName
    [in] Pointer to a null-terminated string specifying the attribute name.
  • dwValue
    [in] Data buffer containing the value information to set.

Return Value

The following table shows the possible return values.

Value Description

S_OK

Function completed successfully.

E_INVALIDARG

pszKeyName is invalid or bad.

FAILED(hr)

Appropriate error message.

Requirements

Header sapi.h, sapi.idl
Library sapilib.lib
Windows Embedded CE Windows CE .NET 4.1 and later

See Also

Reference

ISpDataKey
SAPI Interfaces