Compartilhar via


SetDWORDPropertyA method

Sets a property.

Syntax

HRESULT retVal = object.SetDWORDPropertyA(pszName, dwVal);

Parameters

  • pszName [in]
    Type: LPCSTR

    The property name.

  • dwVal [in]
    Type: DWORD

    The property value.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.