IInkStrokeDisp::GetPacketDescriptionPropertyMetrics method (msinkaut.h)
Retrieves the metrics for a given packet description type.
HRESULT GetPacketDescriptionPropertyMetrics( BSTR PropertyName, long *Minimum, long *Maximum, TabletPropertyMetricUnit *Units, float *Resolution );
The globally unique identifier (GUID) from the PacketProperty constants that identifies the property for which to obtain metrics.
For more information about the BSTR data type, see Using the COM Library.
The minimum value, in logical units, that the tablet reports for this property. For example, a tablet reporting x-values from 0 to 9000 would have a logical minimum of 0.
The maximum value, in logical units, that the tablet reports for this property. For example, a tablet reporting x-values from 0 to 9000 would have a logical maximum of 9000.
The physical units of the property, such as inches or degrees. For a list of property units, see the TabletPropertyMetricUnit enumeration type.
The resolution or increment value for the units member. For example, a tablet that reports 400 dots per inch (dpi) would have a resolution value of 400.
This method can return one of these values.
||A parameter contained an invalid pointer.|
||Cannot allocate memory necessary to complete this request.|
||Invalid GUID format.|
||The property does not exist in the collection.|
||An exception occurred while processing.|
|Minimum supported client||Windows XP Tablet PC Edition [desktop apps only]|
|Minimum supported server||None supported|