The JewcalCalculateTime function calculates shabbat times or Zmanim.
DWORD JewcalCalculateTime(LPJEWCALTIME lpJewCalTime);
Must point to a JEWCALTIME structure whose cbSize member must be filled with sizeof(JEWCALTIME) and whose other members except iReturnHour and iReturnMin must be properly. |
If the function succeeds, the return value is JEWCAL_ERROR_OK.
If the function fails, the return value is other than JEWCAL_ERROR_OK. The function fails if the passed Gregorian date or the city data is invalid.