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 |
); |
Parameters
lpszDesktop
Points to the null-terminated name of a desktop.
lParam
Specifies the application-defined value given in the EnumDesktops function.
Return Values
To continue enumeration, the callback function must return TRUE. To stop enumeration, it must return FALSE.
Remarks
The EnumDesktopProc function is a placeholder for the application-defined function name. The DESKTOPENUMPROC type is a pointer to an EnumDesktopProc function.
See Also