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