4 * Network Plug and Play event support
6 * This file is part of the w32api package.
9 * Created by Casper S. Hornstrup <chorns@users.sourceforge.net>
11 * THIS SOFTWARE IS NOT COPYRIGHTED
13 * This source code is offered for use in the public domain. You may
14 * use, modify or distribute it freely.
16 * This code is distributed in the hope that it will be useful but
17 * WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
18 * DISCLAIMED. This includes but is not limited to warranties of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
27 #pragma GCC system_header
34 typedef enum _NET_PNP_EVENT_CODE
{
37 NetEventQueryRemoveDevice
,
38 NetEventCancelRemoveDevice
,
41 NetEventBindsComplete
,
42 NetEventPnPCapabilities
,
44 } NET_PNP_EVENT_CODE
, *PNET_PNP_EVENT_CODE
;
46 typedef struct _NET_PNP_EVENT
{
47 NET_PNP_EVENT_CODE NetEvent
;
50 ULONG_PTR NdisReserved
[4];
51 ULONG_PTR TransportReserved
[4];
52 ULONG_PTR TdiReserved
[4];
53 ULONG_PTR TdiClientReserved
[4];
54 } NET_PNP_EVENT
, *PNET_PNP_EVENT
;
56 typedef enum _NET_DEVICE_POWER_STATE
{
57 NetDeviceStateUnspecified
,
63 } NET_DEVICE_POWER_STATE
, *PNET_DEVICE_POWER_STATE
;
69 #endif /* __NETPNP_H */