EnumWindowStationProc callback function
Applies to: desktop apps only
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.
Syntax
BOOL CALLBACK EnumWindowStationProc( __in LPTSTR lpszWindowStation, __in LPARAM lParam );
Parameters
- lpszWindowStation [in]
-
The name of the window station.
- lParam [in]
-
An application-defined value specified in the EnumWindowStations function.
Return value
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.
Requirements
|
Minimum supported client | Windows 2000 Professional |
|---|---|
|
Minimum supported server | Windows 2000 Server |
|
Header |
|
|
Unicode and ANSI names | WINSTAENUMPROCW (Unicode) and WINSTAENUMPROCA (ANSI) |
See also
Send comments about this topic to Microsoft
Build date: 2/3/2012