Platform SDK: Exchange Server |
The HrJSOpen function specifies a jump window's calculations and dimensions.
Header file: | STATS.H |
Library: | STATS.LIB |
HRESULT HrJSOpen( JSWINDOWTYPE enType, FILETIME * pftNow, FILETIME * pftResolution, DWORD dwWindowDuration, HJSWINDOW * phJSWindow );
See Return Values.
HrJSOpen defines a jump window, including the type of calculation the jump window performs, its duration (the time span covered by the jump window), and its resolution (the time interval between window jumps).
The resolution is defined as a time interval, while the duration is defined as a multiple of the resolution. For example, if the window spans an hour and jumps every minute, the duration is 60.
For more information on this function, see Jump Window Functions in the Gateway Programmer's Reference.
HrFileTimeToSeconds, HrJSCollectDataPoint, HrJSGetValue, JSClose