EnumWindowStationProc

The EnumWindowStationProc function is an application-defined callback function used with the EnumWindowStations function. It receives a window station name. The WINSTAENUMPROC type defines a pointer to this callback function. EnumWindowStationProc is a placeholder for the application-defined function name.

BOOL CALLBACK EnumWindowStationProc(
  LPTSTR lpszWindowStation
                 // name of a window station
  LPARAM lParam  // value specified in EnumWindowStations call
);
 

Parameters

lpszWindowStation
Pointer to the null-terminated name of a window station.
lParam
Specifies the application-defined value given in the EnumWindowStations function.

Return Values

To continue enumeration, the callback function must return TRUE. To stop enumeration, it must return FALSE.

Remarks

An application must register this callback function by passing its address to EnumWindowStations.

QuickInfo

  Windows NT: Requires version 3.1 or later.
  Windows: Unsupported.
  Windows CE: Unsupported.
  Header: Declared in winuser.h.
  Import Library: User-defined.
  Unicode: Defined as Unicode and ANSI prototypes.

See Also

Window Stations and Desktops Overview, Window Station and Desktop Functions, EnumWindowStations