ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

rosdhcp_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 doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.