ITimeZone::get_StandardInstance

Windows Mobile 6.5
A version of this page is also available for
4/8/2010

The StandardInstance property gets the week of the month (1 through 5, inclusive) when the change to standard time occurs.


HRESULT get_StandardInstance(
  long * plInstance
);

plInstance

[out] Reference to the week of the month, a value between 1 and 5, inclusive.

This method returns the standard values E_INVALIDARG, E_OUTOFMEMORY, E_UNEXPECTED, and E_FAIL, as well as the following:

S_OK

The method completed successfully.

The value 5 always represents the last week, even if the month does not have five weeks.

StandardInstance is undefined if SupportsDST is FALSE.

Headerpimstore.h
LibraryPimstore.lib
Windows Embedded CEWindows CE 2.0 and later
Windows MobileWindows Mobile Version 5.0 and later

Community Additions

Show: