This topic has not yet been rated - Rate this topic

EnumDesktopProc callback function

Applies to: desktop apps only

An application-defined callback function used with the EnumDesktops function. It receives a desktop name.

The DESKTOPENUMPROC type defines a pointer to this callback function. EnumDesktopProc is a placeholder for the application-defined function name.

Syntax

BOOL CALLBACK EnumDesktopProc(
  __in  LPTSTR lpszDesktop,
  __in  LPARAM lParam
);

Parameters

lpszDesktop [in]

The name of the desktop.

lParam [in]

An application-defined value specified in the EnumDesktops function.

Return value

To continue enumeration, the callback function must return TRUE. To stop enumeration, it must return FALSE.

Requirements

Minimum supported client

Windows 2000 Professional

Minimum supported server

Windows 2000 Server

Header

Winbase.h (include Windows.h)

See also

Desktops
Window Station and Desktop Functions

 

 

Send comments about this topic to Microsoft

Build date: 2/3/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ