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
36 typedef enum _NET_PNP_EVENT_CODE
{
39 NetEventQueryRemoveDevice
,
40 NetEventCancelRemoveDevice
,
43 NetEventBindsComplete
,
44 NetEventPnPCapabilities
,
46 } NET_PNP_EVENT_CODE
, *PNET_PNP_EVENT_CODE
;
48 typedef struct _NET_PNP_EVENT
{
49 NET_PNP_EVENT_CODE NetEvent
;
52 ULONG_PTR NdisReserved
[4];
53 ULONG_PTR TransportReserved
[4];
54 ULONG_PTR TdiReserved
[4];
55 ULONG_PTR TdiClientReserved
[4];
56 } NET_PNP_EVENT
, *PNET_PNP_EVENT
;
58 typedef enum _NET_DEVICE_POWER_STATE
{
59 NetDeviceStateUnspecified
,
65 } NET_DEVICE_POWER_STATE
, *PNET_DEVICE_POWER_STATE
;
73 #endif /* __NETPNP_H */