共用方式為


GetDWORDPropertyA method

Gets a property.

Syntax

HRESULT retVal = object.GetDWORDPropertyA(pszName, pVal);

Parameters

  • pszName [in]
    Type: LPCSTR

    The property name.

  • pVal [out]
    Type: DWORD

    Receives a pointer to the value.

Return value

Type: HRESULT

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