BCGControlBar Pro for MFC
BOOL CBCGPShellList::IsDesktop ( ) const
inline

Determines whether the currently selected folder is the desktop folder.

Returns
Nonzero if the currently displayed folder is the desktop folder; otherwise 0.