Sorry, forgot header for API dll communication.
Added: trunk/reactos/include/rosdhcp_public.h

Added: trunk/reactos/include/rosdhcp_public.h
--- trunk/reactos/include/rosdhcp_public.h	2005-04-13 06:17:34 UTC (rev 14604)
+++ trunk/reactos/include/rosdhcp_public.h	2005-04-13 06:55:26 UTC (rev 14605)
@@ -0,0 +1,46 @@
+#ifndef ROSDHCP_PUBLIC_H
+#define ROSDHCP_PUBLIC_H
+
+enum {
+    DhcpReqLeaseIpAddress,
+    DhcpReqQueryHWInfo,
+    DhcpReqReleaseIpAddress,
+    DhcpReqRenewIpAddress,
+    DhcpReqStaticRefreshParams,
+};
+
+typedef struct _COMM_DHCP_REQ {
+    UINT Type;
+    DWORD AdapterIndex;
+    union {
+        struct {
+            BOOL Inserted;
+        } PnpEvent;
+        struct {
+            LPWSTR AdapterName;
+            DHCPCAPI_PARAMS_ARRAY Params;
+        } RegisterParamChange;
+        struct {
+            LPWSTR AdapterName;
+            LPWSTR RequestId;
+        } RequestParams, UndoRequestParams;
+        struct {
+            DWORD IPAddress;
+            DWORD Netmask;
+        } StaticRefreshParams;
+    } Body;
+} COMM_DHCP_REQ;
+
+typedef union _COMM_DHCP_REPLY {
+    DWORD Reply;
+    struct {
+        DWORD AdapterIndex;
+        DWORD MediaType;
+        DWORD Mtu;
+        DWORD Speed;
+    } QueryHWInfo;
+} COMM_DHCP_REPLY;
+
+#define DHCP_PIPE_NAME "\\\\.\\pipe\\dhcpclient"
+
+#endif/*ROSDHCP_PUBLIC_H*/