Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

EnumWindowStationProc callback function

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 [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Winuser.h (include Windows.h)

Unicode and ANSI names

WINSTAENUMPROCW (Unicode) and WINSTAENUMPROCA (ANSI)

See also

EnumWindowStations
Window Station and Desktop Functions
Window Stations

 

 

Community Additions

ADD
Show:
© 2015 Microsoft