mirror of https://github.com/tongzx/nt5src
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.
38 lines
622 B
38 lines
622 B
//
|
|
// 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
|