Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

34 lines
1.3 KiB

#ifndef H__scrnupdt
#define H__scrnupdt
#ifdef HASUI
extern BOOL bShowStatistics;
extern BOOL bIconic;
#define UpdateScreenStatistics() \
{ \
if( bShowStatistics && !bIconic ) { \
if (ptdHead != NULL) \
InvalidateRect( ptdHead->hwndDDE, NULL, FALSE ); \
} \
}
#define UpdateScreenState() \
{ \
if( !bIconic ) { \
if (ptdHead != NULL) { \
InvalidateRect( ptdHead->hwndDDE, NULL, TRUE ); \
UpdateWindow(ptdHead->hwndDDE); \
} \
} \
}
#else
#define UpdateScreenStatistics()
#define UpdateScreenState()
#endif // HASUI
#endif // !H__scrnupdt