propputref
[propputref [,optional-property-attributes]] return-type
func-name( parameters);
Example
interface
InMyFace : IDispatch
{
[propget, helpstring("A meaningful comment."), id(1)]
HRESULT
Method2([out, retval] InYourFace** retval);
[propputref, helpstring("Another meaningful comment."),
id(1)]
HRESULT
Method2([in] InYourFace* Point);
Remarks
The propputref
attribute specifies a property-setting function that uses a reference
instead of a value.
A function
that has the propputref attribute must also have, as its last parameter,
a pointer that has the in
The property
must have the same name as the function. At most, one of propget
Flags
INVOKE_PROPERTYPUTREF
See Also