diff options
author | Danny Smith <dannysmith@users.sourceforge.net> | 2003-09-30 07:51:26 +0000 |
---|---|---|
committer | Danny Smith <dannysmith@users.sourceforge.net> | 2003-09-30 07:51:26 +0000 |
commit | 4d36c543ea789f3497833a5b70fd2d6ac8bf1e44 (patch) | |
tree | d2d10942d65282ac8bb57dae465584bc8925a73a /winsup/w32api/include/dbt.h | |
parent | 684f94e30521f3da4cf1b80e608406af6cd10053 (diff) | |
download | cygnal-4d36c543ea789f3497833a5b70fd2d6ac8bf1e44.tar.gz cygnal-4d36c543ea789f3497833a5b70fd2d6ac8bf1e44.tar.bz2 cygnal-4d36c543ea789f3497833a5b70fd2d6ac8bf1e44.zip |
* include/winuser.h (BSF_*, BSM_*): Sync constants defined in
both winuser.h and dbt.h.
* include/dbt.h (BSF_*, BSM_*): Likewise.
* include/winuser.h (struct tagRAWINPUT): Remove
_ANONYMOUS_UNION tag from named union.
(struct tagRAWMOUSE): Add _ANONYMOUS_STRUCT to nameless struct.
Diffstat (limited to 'winsup/w32api/include/dbt.h')
-rw-r--r-- | winsup/w32api/include/dbt.h | 36 |
1 files changed, 24 insertions, 12 deletions
diff --git a/winsup/w32api/include/dbt.h b/winsup/w32api/include/dbt.h index e79e431c1..e804756a2 100644 --- a/winsup/w32api/include/dbt.h +++ b/winsup/w32api/include/dbt.h @@ -39,18 +39,30 @@ extern "C" { #define DBT_USERDEFINED 0xFFFF #define DBTF_MEDIA 1 #define DBTF_NET 2 -#define BSM_ALLCOMPONENTS 0 -#define BSM_VXDS 1 -#define BSM_NETDRIVER 2 -#define BSM_INSTALLABLEDRIVERS 4 -#define BSM_APPLICATIONS 8 -#define BSF_QUERY 1 -#define BSF_IGNORECURRENTTASK 2 -#define BSF_FLUSHDISK 4 -#define BSF_NOHANG 8 -#define BSF_POSTMESSAGE 16 -#define BSF_FORCEIFHUNG 32 -#define BSF_NOTIMEOUTIFNOTHUNG 64 + +/* Also defined in winuser.h */ +#define BSM_ALLCOMPONENTS 0 +#define BSM_APPLICATIONS 8 +#define BSM_ALLDESKTOPS 16 +#define BSM_INSTALLABLEDRIVERS 4 +#define BSM_NETDRIVER 2 +#define BSM_VXDS 1 +#define BSF_FLUSHDISK 0x00000004 +#define BSF_FORCEIFHUNG 0x00000020 +#define BSF_IGNORECURRENTTASK 0x00000002 +#define BSF_NOHANG 0x00000008 +#define BSF_NOTIMEOUTIFNOTHUNG 0x00000040 +#define BSF_POSTMESSAGE 0x00000010 +#define BSF_QUERY 0x00000001 +#if (_WIN32_WINNT >= 0x0500) +#define BSF_ALLOWSFW 0x00000080 +#define BSF_SENDNOTIFYMESSAGE 0x00000100 +#endif /* (_WIN32_WINNT >= 0x0500) */ +#if (_WIN32_WINNT >= 0x0501) +#define BSF_LUID 0x00000400 +#define BSF_RETURNHDESK 0x00000200 +#endif /* (_WIN32_WINNT >= 0x0501) */ + #define BSF_MSGSRV32ISOK_BIT 31 #define BSF_MSGSRV32ISOK 0x80000000 |