3 * @copy 2012 MinGW.org project
5 * Permission is hereby granted, free of charge, to any person obtaining a
6 * copy of this software and associated documentation files (the "Software"),
7 * to deal in the Software without restriction, including without limitation
8 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
9 * and/or sell copies of the Software, and to permit persons to whom the
10 * Software is furnished to do so, subject to the following conditions:
12 * The above copyright notice and this permission notice (including the next
13 * paragraph) shall be included in all copies or substantial portions of the
16 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
22 * DEALINGS IN THE SOFTWARE.
24 /* Created by Casper S. Hornstrup <chorns@users.sourceforge.net> */
27 #pragma GCC system_header
31 * Network Plug and Play event support
38 typedef enum _NET_PNP_EVENT_CODE {
41 NetEventQueryRemoveDevice,
42 NetEventCancelRemoveDevice,
45 NetEventBindsComplete,
46 NetEventPnPCapabilities,
48 } NET_PNP_EVENT_CODE, *PNET_PNP_EVENT_CODE;
50 typedef struct _NET_PNP_EVENT {
51 NET_PNP_EVENT_CODE NetEvent;
54 ULONG_PTR NdisReserved[4];
55 ULONG_PTR TransportReserved[4];
56 ULONG_PTR TdiReserved[4];
57 ULONG_PTR TdiClientReserved[4];
58 } NET_PNP_EVENT, *PNET_PNP_EVENT;
60 typedef enum _NET_DEVICE_POWER_STATE {
61 NetDeviceStateUnspecified,
67 } NET_DEVICE_POWER_STATE, *PNET_DEVICE_POWER_STATE;
73 #endif /* __NETPNP_H */