windows-nt/Source/XPSP1/NT/enduser/netmeeting/as/h/awc.h
2020-09-26 16:20:57 +08:00

39 lines
622 B
C

//
// AWC.H
// Active Window Coordinator
//
// Copyright(c) Microsoft 1997-
//
#ifndef _H_AWC
#define _H_AWC
//
//
// CONSTANTS
//
//
#define AWC_INVALID_HWND ((HWND)1)
#define AWC_SYNC_MSG_TOKEN 0xffff
//
//
// MACROS
//
//
#define AWC_IS_INDICATION(msg) \
((msg == AWC_MSG_ACTIVE_CHANGE_LOCAL) || \
(msg == AWC_MSG_ACTIVE_CHANGE_INVISIBLE) || \
(msg == AWC_MSG_ACTIVE_CHANGE_CAPTURED) || \
(msg == AWC_MSG_ACTIVE_CHANGE_SHARED))
#define AWC_IS_REQUEST(msg) \
((msg == AWC_MSG_ACTIVATE_WINDOW) || \
(msg == AWC_MSG_RESTORE_WINDOW))
#endif // _H_AWC