Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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 |