⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 dhcp_reactos.c

📁 winNT技术操作系统,国外开放的原代码和LIUX一样
💻 C
字号:
/*
 * PROJECT:     ReactOS Networking
 * LICENSE:     GPL - See COPYING in the top level directory
 * FILE:        lib/iphlpapi/dhcp_reactos.c
 * PURPOSE:     DHCP helper functions for ReactOS
 * COPYRIGHT:   Copyright 2006 Ge van Geldorp <gvg@reactos.org>
 */

#include "iphlpapi_private.h"
#include "dhcp.h"
#include <assert.h>

#define NDEBUG
#include "debug.h"

DWORD APIENTRY DhcpRosGetAdapterInfo(DWORD AdapterIndex,
                                     PBOOL DhcpEnabled,
                                     PDWORD DhcpServer,
                                     time_t *LeaseObtained,
                                     time_t *LeaseExpires);

DWORD getDhcpInfoForAdapter(DWORD AdapterIndex,
                            PBOOL DhcpEnabled,
                            PDWORD DhcpServer,
                            time_t *LeaseObtained,
                            time_t *LeaseExpires)
{
    return DhcpRosGetAdapterInfo(AdapterIndex, DhcpEnabled, DhcpServer,
                                 LeaseObtained, LeaseExpires);
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -