Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygenrosdhcp_public.h
Go to the documentation of this file.
00001 #ifndef ROSDHCP_PUBLIC_H 00002 #define ROSDHCP_PUBLIC_H 00003 00004 enum { 00005 DhcpReqLeaseIpAddress, 00006 DhcpReqQueryHWInfo, 00007 DhcpReqReleaseIpAddress, 00008 DhcpReqRenewIpAddress, 00009 DhcpReqStaticRefreshParams, 00010 DhcpReqGetAdapterInfo, 00011 }; 00012 00013 typedef struct _COMM_DHCP_REQ { 00014 UINT Type; 00015 DWORD AdapterIndex; 00016 union { 00017 struct { 00018 BOOL Inserted; 00019 } PnpEvent; 00020 struct { 00021 LPWSTR AdapterName; 00022 DHCPCAPI_PARAMS_ARRAY Params; 00023 } RegisterParamChange; 00024 struct { 00025 LPWSTR AdapterName; 00026 LPWSTR RequestId; 00027 } RequestParams, UndoRequestParams; 00028 struct { 00029 DWORD IPAddress; 00030 DWORD Netmask; 00031 } StaticRefreshParams; 00032 } Body; 00033 } COMM_DHCP_REQ; 00034 00035 typedef union _COMM_DHCP_REPLY { 00036 DWORD Reply; 00037 struct { 00038 DWORD AdapterIndex; 00039 DWORD MediaType; 00040 DWORD Mtu; 00041 DWORD Speed; 00042 } QueryHWInfo; 00043 struct { 00044 BOOL DhcpEnabled; 00045 DWORD DhcpServer; 00046 time_t LeaseObtained; 00047 time_t LeaseExpires; 00048 } GetAdapterInfo; 00049 } COMM_DHCP_REPLY; 00050 00051 #define DHCP_PIPE_NAME L"\\\\.\\pipe\\dhcpclient" 00052 00053 #endif/*ROSDHCP_PUBLIC_H*/ Generated on Sun May 27 2012 04:33:10 for ReactOS by
1.7.6.1
|