usTickNum (USHORT)
Specifies the tick mark location to query for the position.
ulReserved (ULONG)
xTickPos (USHORT)
X-coordinate of the point that represents the position of the tick mark. It is the starting position of the tick mark and represents the end of the tick mark closest to the slider shaft.
yTickPos (USHORT)
Y-coordinate of the point that represents the position of the tick mark. It is the starting position of the tick mark and represents the end of the tick mark closest to the slider shaft.
If NULL is returned in either parameter, an error occurred. The WinGetLastError function may return the following error:
PMERR_PARAMETER_OUT_OF_RANGE.