EnumWindowStationProc

The EnumWindowStationProc function is an application-defined callback function that receives a window station name as a result of a call to the EnumWindowStations function.

BOOL EnumWindowStationProc(

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

Parameters

lpszWindowStation

Points 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

EnumWindowStationProc is a placeholder for the application-defined function name. The WINSTAENUMPROC type is a pointer to an EnumWindowStationProc function.

See Also

EnumWindowStations