PSPropertyBag_WritePOINTL function (propsys.h)

Stores the property coordinates in aPOINTL structure of a specified property bag.

Syntax

PSSTDAPI PSPropertyBag_WritePOINTL(
  IPropertyBag *propBag,
  LPCWSTR      propName,
  const POINTL *value
);

Parameters

propBag

Type: IPropertyBag*

A pointer to an IPropertyBag object that represents the property bag in which the property is stored.

propName

Type: LPCWSTR

A null-terminated property name string.

value

Type: const POINTL*

A pointer to a POINTL structure that specifies the coordinates to store in the property.

Return value

Type: HRESULT

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

Remarks

The property bag property function API converts between window types and the VARIANT type that is used to express values in a property bag. Doing so eases property bag usage, simplifies applications, and avoids common coding errors.

Requirements

   
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Target Platform Windows
Header propsys.h
Library Propsys.lib
DLL Propsys.dll (version 6.0 or later)

See also

PSPropertyBag_ReadPOINTL