Share via


WSD_DURATION

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

This structure represents a length of time.

Syntax

typedef struct _WSD_DURATION {
  BOOL isPositive;
  ULONG year;
  ULONG month;
  ULONG day;
  ULONG hour;
  ULONG minute;
  ULONG second;
  ULONG millisecond;
} WSD_DURATION;

Members

  • isPositive
    This parameter is TRUE if the entire duration is positive.
  • year
    The year value. This number is a value between 0 and max(ULONG).
  • month
    The month value. This number is a value between 0 and max(ULONG).
  • day
    The day value. This number is a value between 0 and max(ULONG).
  • hour
    The hour value. This number is a value between 0 and max(ULONG).
  • minute
    The minute value. This number is a value between 0 and max(ULONG).
  • second
    The second value. This number is a value between 0 and max(ULONG).
  • millisecond
    The millisecond value (0-999).

Remarks

If any numeric member has a value of 0, then the member and its value is not included in the XML output when the structure is converted to XML.

Requirements

Header wsdapi.h
Library wsdapi.lib
Windows Embedded CE Windows Embedded CE 6.0 R2

See Also

Reference

Web Services on Devices Structures