Menu

Sets the value of the property.

Copy Code
HRESULT 
    put_Value
   (
    VARIANT  
    vValue
  
);

Parameters

vValue

[in] Value to set for the property. The value will be converted to the appropriate VARIANT type from the VerifierPropertyType enumeration.

Return Value

The following list includes the most like return values. However, other return values are possible.

S_OK

The method succeeded.

E_FAIL

The method failed.

E_ACCESSDENIED

The current user has inadequate permission to set the property. Changing the value of the property requires Administrator privileges.

E_INVALIDARG

You passed an invalid argument.

E_OUTOFMEMORY

Process ran out of memory.

E_NOTIMPL

Support for binary properties is not implemented.

HRESULT_FROM_WIN32(ERROR_CANTWRITE)

The property is read-only.

See Also