Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygendbt.h
Go to the documentation of this file.
00001 #ifndef _DBT_H 00002 #define _DBT_H 00003 00004 #ifdef __cplusplus 00005 extern "C" { 00006 #endif 00007 #define DBT_NO_DISK_SPACE 0x47 00008 #define DBT_CONFIGMGPRIVATE 0x7FFF 00009 #define DBT_DEVICEARRIVAL 0x8000 00010 #define DBT_DEVICEQUERYREMOVE 0x8001 00011 #define DBT_DEVICEQUERYREMOVEFAILED 0x8002 00012 #define DBT_DEVICEREMOVEPENDING 0x8003 00013 #define DBT_DEVICEREMOVECOMPLETE 0x8004 00014 #define DBT_DEVICETYPESPECIFIC 0x8005 00015 #define DBT_DEVTYP_OEM 0 00016 #define DBT_DEVTYP_DEVNODE 1 00017 #define DBT_DEVTYP_VOLUME 2 00018 #define DBT_DEVTYP_PORT 3 00019 #define DBT_DEVTYP_NET 4 00020 #define DBT_DEVTYP_DEVICEINTERFACE 5 00021 #define DBT_APPYBEGIN 0 00022 #define DBT_APPYEND 1 00023 #define DBT_DEVNODES_CHANGED 7 00024 #define DBT_QUERYCHANGECONFIG 0x17 00025 #define DBT_CONFIGCHANGED 0x18 00026 #define DBT_CONFIGCHANGECANCELED 0x19 00027 #define DBT_MONITORCHANGE 0x1B 00028 #define DBT_SHELLLOGGEDON 32 00029 #define DBT_CONFIGMGAPI32 34 00030 #define DBT_VXDINITCOMPLETE 35 00031 #define DBT_VOLLOCKQUERYLOCK 0x8041 00032 #define DBT_VOLLOCKLOCKTAKEN 0x8042 00033 #define DBT_VOLLOCKLOCKFAILED 0x8043 00034 #define DBT_VOLLOCKQUERYUNLOCK 0x8044 00035 #define DBT_VOLLOCKLOCKRELEASED 0x8045 00036 #define DBT_VOLLOCKUNLOCKFAILED 0x8046 00037 #define DBT_USERDEFINED 0xFFFF 00038 #define DBTF_MEDIA 1 00039 #define DBTF_NET 2 00040 00041 /* Also defined in winuser.h */ 00042 #define BSM_ALLCOMPONENTS 0 00043 #define BSM_APPLICATIONS 8 00044 #define BSM_ALLDESKTOPS 16 00045 #define BSM_INSTALLABLEDRIVERS 4 00046 #define BSM_NETDRIVER 2 00047 #define BSM_VXDS 1 00048 #define BSF_FLUSHDISK 0x00000004 00049 #define BSF_FORCEIFHUNG 0x00000020 00050 #define BSF_IGNORECURRENTTASK 0x00000002 00051 #define BSF_NOHANG 0x00000008 00052 #define BSF_NOTIMEOUTIFNOTHUNG 0x00000040 00053 #define BSF_POSTMESSAGE 0x00000010 00054 #define BSF_QUERY 0x00000001 00055 #if (_WIN32_WINNT >= 0x0500) 00056 #define BSF_ALLOWSFW 0x00000080 00057 #define BSF_SENDNOTIFYMESSAGE 0x00000100 00058 #endif /* (_WIN32_WINNT >= 0x0500) */ 00059 #if (_WIN32_WINNT >= 0x0501) 00060 #define BSF_LUID 0x00000400 00061 #define BSF_RETURNHDESK 0x00000200 00062 #endif /* (_WIN32_WINNT >= 0x0501) */ 00063 00064 #define BSF_MSGSRV32ISOK_BIT 31 00065 #define BSF_MSGSRV32ISOK 0x80000000 00066 00067 typedef struct _DEV_BROADCAST_HDR { 00068 DWORD dbch_size; 00069 DWORD dbch_devicetype; 00070 DWORD dbch_reserved; 00071 } DEV_BROADCAST_HDR,*PDEV_BROADCAST_HDR; 00072 typedef struct _DEV_BROADCAST_OEM { 00073 DWORD dbco_size; 00074 DWORD dbco_devicetype; 00075 DWORD dbco_reserved; 00076 DWORD dbco_identifier; 00077 DWORD dbco_suppfunc; 00078 } DEV_BROADCAST_OEM,*PDEV_BROADCAST_OEM; 00079 typedef struct _DEV_BROADCAST_PORT_A { 00080 DWORD dbcp_size; 00081 DWORD dbcp_devicetype; 00082 DWORD dbcp_reserved; 00083 char dbcp_name[1]; 00084 } DEV_BROADCAST_PORT_A, *PDEV_BROADCAST_PORT_A; 00085 typedef struct _DEV_BROADCAST_PORT_W { 00086 DWORD dbcp_size; 00087 DWORD dbcp_devicetype; 00088 DWORD dbcp_reserved; 00089 wchar_t dbcp_name[1]; 00090 } DEV_BROADCAST_PORT_W, *PDEV_BROADCAST_PORT_W; 00091 typedef struct _DEV_BROADCAST_USERDEFINED { 00092 struct _DEV_BROADCAST_HDR dbud_dbh; 00093 char dbud_szName[1]; 00094 } DEV_BROADCAST_USERDEFINED; 00095 typedef struct _DEV_BROADCAST_VOLUME { 00096 DWORD dbcv_size; 00097 DWORD dbcv_devicetype; 00098 DWORD dbcv_reserved; 00099 DWORD dbcv_unitmask; 00100 WORD dbcv_flags; 00101 } DEV_BROADCAST_VOLUME,*PDEV_BROADCAST_VOLUME; 00102 typedef struct _DEV_BROADCAST_DEVICEINTERFACE { 00103 DWORD dbcc_size; 00104 DWORD dbcc_devicetype; 00105 DWORD dbcc_reserved; 00106 GUID dbcc_classguid; 00107 TCHAR dbcc_name[1]; 00108 } DEV_BROADCAST_DEVICEINTERFACE, *PDEV_BROADCAST_DEVICEINTERFACE; 00109 00110 #ifdef UNICODE 00111 typedef DEV_BROADCAST_PORT_W DEV_BROADCAST_PORT, *PDEV_BROADCAST_PORT; 00112 #else 00113 typedef DEV_BROADCAST_PORT_A DEV_BROADCAST_PORT, *PDEV_BROADCAST_PORT; 00114 #endif 00115 00116 #ifdef __cplusplus 00117 } 00118 #endif 00119 #endif Generated on Wed May 23 2012 04:29:16 for ReactOS by
1.7.6.1
|