次の方法で共有


WSD_DURATION (Compact 2013)

3/26/2014

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

See Also

Reference

Web Services on Devices Structures