An EnumDateFormatsProc function is an application-defined callback function. It is called as a result of a call to the EnumDateFormats function, and receives a pointer to a string buffer containing a date format string.
BOOL CALLBACK EnumDateFormatsProc(
LPTSTR lpDateFormatString |
// pointer to date format string |
); |
To continue enumeration, the callback function should return TRUE.
To stop enumeration, the callback function should return FALSE.
EnumDateFormatsProc is a placeholder for an application-defined function name.
An EnumDateFormatsProc function can carry out any desired task.
An application registers an EnumDateFormatsProc function by passing its address to the EnumDateFormats function.
A value of type DATEFMT_ENUMPROC is a pointer to an EnumDateFormatsProc function.