The EnumDesktopProc function is an application-defined callback function that receives a desktop name as a result of a call to the EnumDesktops function.
BOOL CALLBACK EnumDesktopProc(
LPTSTR lpszDesktop, |
// name of a desktop |
LPARAM lParam |
// value specified in EnumDesktops call |
); |
To continue enumeration, the callback function must return TRUE. To stop enumeration, it must return FALSE.
The EnumDesktopProc function is a placeholder for the application-defined function name. The DESKTOPENUMPROC type is a pointer to an EnumDesktopProc function.