dbt.h revision af062818b47340eef15700d2f0211576ba3506ee
/*
* Copyright (C) 2004 Ulrich Czekalla
*
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#ifndef __WINE_DBT_H
#define __WINE_DBT_H
/* dbt.h doesn't use the normal convention, it adds an underscore before A/W */
#ifdef WINE_NO_UNICODE_MACROS
#else
#endif
#define DBT_NO_DISK_SPACE 0x0047
#define DBT_LOW_DISK_SPACE 0x0048
#define DBT_CONFIGMGPRIVATE 0x7FFF
#define DBT_DEVICEARRIVAL 0x8000
#define DBT_DEVICEQUERYREMOVE 0x8001
#define DBT_DEVICEQUERYREMOVEFAILED 0x8002
#define DBT_DEVICEREMOVEPENDING 0x8003
#define DBT_DEVICEREMOVECOMPLETE 0x8004
#define DBT_DEVICETYPESPECIFIC 0x8005
#define DBT_CUSTOMEVENT 0x8006
typedef struct _DEV_BROADCAST_HDR
{
#define DBT_DEVTYP_OEM 0x00000000
#define DBT_DEVTYP_DEVNODE 0x00000001
#define DBT_DEVTYP_VOLUME 0x00000002
#define DBT_DEVTYP_PORT 0x00000003
#define DBT_DEVTYP_NET 0x00000004
#define DBT_DEVTYP_DEVICEINTERFACE 0x00000005
#define DBT_DEVTYP_HANDLE 0x00000006
typedef struct _DEV_BROADCAST_OEM
{
typedef struct _DEV_BROADCAST_DEVNODE
{
typedef struct _DEV_BROADCAST_VOLUME
{
#define DBTF_MEDIA 0x0001
#define DBTF_NET 0x0002
typedef struct _DEV_BROADCAST_PORT_A
{
char dbcp_name[1];
typedef struct _DEV_BROADCAST_PORT_W
{
typedef struct _DEV_BROADCAST_NET
{
typedef struct _DEV_BROADCAST_DEVICEINTERFACE_A
{
typedef struct _DEV_BROADCAST_DEVICEINTERFACE_W
{
typedef struct _DEV_BROADCAST_HANDLE
{
#endif /* __WINE_DBT_H */