IPerPropertyBrowsing2::SetPredefinedValue

Sets the value of the property specified by dispID. The predefined value is identified by the token dwCookie.

Syntax

HRESULT SetPredefinedValue(  
   DISPID  dispid,  
   DWORD  dwCookie  
);  

Parameters

dispid
[in] Dispatch identifier of the property for which a predefined value is being set.

dwCookie
[in] Token identifying the value to set.

Return Value

Returns a valid HRESULT, typically S_OK.

See also

IPerPropertyBrowsing2 Interface 1