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 |
|
); |
To continue enumeration, the callback function must return TRUE. To stop enumeration, it must return FALSE.
EnumWindowStationProc is a placeholder for the application-defined function name. The WINSTAENUMPROC type is a pointer to an EnumWindowStationProc function.