Platform SDK: International Features

EnumTimeFormatsProc

The EnumTimeFormatsProc function is an application defined–callback function used with the EnumTimeFormats function. The TIMEFMT_ENUMPROC type defines a pointer to this callback function. EnumTimeFormatsProc is a placeholder for the application defined–function name.

BOOL CALLBACK EnumTimeFormatsProc(
  LPTSTR lpTimeFormatString   // time format string
);

Parameters

lpTimeFormatString
[in] Pointer to a buffer containing a null-terminated time format string.

Return Values

To continue enumeration, the callback function should return TRUE.

To stop enumeration, the callback function should return FALSE.

Remarks

This function can carry out any desired task. An application registers this function by passing its address to the EnumTimeFormats function.

Requirements

  Windows NT/2000: Requires Windows NT 3.1 or later.
  Windows 95/98: Requires Windows 98.
  Header: Declared in Winnls.h; include Windows.h.

See Also

National Language Support Overview, National Language Support Functions, EnumTimeFormats