WS_DURATION structure (webservices.h)

Represents a xsd:duration data type.

Syntax

typedef struct _WS_DURATION {
  BOOL  negative;
  ULONG years;
  ULONG months;
  ULONG days;
  ULONG hours;
  ULONG minutes;
  ULONG seconds;
  ULONG milliseconds;
  ULONG ticks;
} WS_DURATION;

Members

negative

If TRUE, this represents a negative duration.

years

The number of years.

months

The number of months.

days

The number of days.

hours

The number of hours.

minutes

The number of minutes.

seconds

The number of seconds.

milliseconds

The number of milliseconds. This value must be less than 1000.

ticks

Indicates the number of ticks. This value must be less than 10000.

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Header webservices.h