Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.