JewcalGetReadingEx

The JewcalGetReadingEx function retrieves the name of the torah and haphtarah reading which falls on the shabbat specified by the passed Gregorian date and if the Parasha is "connected".

DWORD JewcalGetReadingEx(LPJEWCALGETREADINGINFO lpReadingInfo);

Parameters

lpReadingInfo
Must point to a JEWCALGETREADINGINFO structure in which the parameters for the function are contained and in which the return value is stored. The cbSize member of the structure must be set to sizeof(JEWCALGETREADINGINFO).

Return values

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 lpReadingInfo is NULL, if it does not have the correct size, if the passed Gregorian date is invalid or if the buffer(s) are too small.

Remarks

This function is new in version 1.1

See Also

JewcalGetReading, JEWCALGETREADINGINFO