mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 07:23:13 +00:00
Sorry, forgot header for API dll communication.
svn path=/trunk/; revision=14605
This commit is contained in:
parent
3b6c6f0a94
commit
a4ca03679f
1 changed files with 46 additions and 0 deletions
46
reactos/include/rosdhcp_public.h
Normal file
46
reactos/include/rosdhcp_public.h
Normal file
|
@ -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*/
|
Loading…
Add table
Add a link
Reference in a new issue