Windows Deployment Services 服务器函数

以下函数与 Windows Deployment Services PXE 服务器 API 一起使用。

函数 说明
PxeAsyncRecvDone 返回客户端请求的异步结果。
PxeDhcpAppendOption 将 DHCP 选项追加到回复数据包。
PxeDhcpAppendOptionRaw 将 DHCP 选项追加到回复数据包。
PxeDhcpGetOptionValue 从 DHCP 数据包中检索选项值。
PxeDhcpGetVendorOptionValue 从 DHCP 数据包 (43) 的供应商特定信息字段检索选项值。
PxeDhcpInitialize 将响应数据包初始化为 DHCP 回复数据包。
PxeDhcpIsValid 验证数据包是否为 DHCP 数据包。
PxeGetServerInfo 返回有关 PXE 服务器的信息。
PxePacketAllocate 分配要随 PxeSendReply 函数一起发送的数据包。
PxePacketFree 释放 PxePacketAllocate 函数分配的数据包。
PxeProviderEnumClose 关闭 PxeProviderEnumFirst 函数打开的提供程序的枚举。
PxeProviderEnumFirst 启动已注册提供程序的枚举。
PxeProviderEnumNext 枚举已注册的提供程序。
PxeProviderFreeInfo 释放 PxeProviderEnumNext 函数分配的内存。
PxeProviderInitialize 从提供程序动态链接库导出 (DLL) ,用于初始化提供程序并准备它以接收客户端请求。
PxeProviderQueryIndex 返回已注册提供程序列表中指定提供程序的索引。
PxeProviderRecvRequest 从客户端收到请求时调用。
PxeProviderRegister 向系统注册提供程序。
PxeProviderServiceControl 当 WDS 服务收到服务控制代码时调用。
PxeProviderSetAttribute 指定提供程序的属性。
PxeProviderShutdown 调用以关闭提供程序。
PxeProviderUnRegister 从已注册的提供程序列表中删除提供程序。
PxeRegisterCallback 为不同的通知事件注册回调函数。
PxeSendReply 将数据包发送到客户端请求。
PxeTrace 将跟踪项添加到 PXE 日志。

 

从Windows 8和Windows Server 2012开始,可以使用以下内容。

函数 说明
PxeDhcpv6AppendOption 将 DHCPv6 选项追加到回复数据包。
PxeDhcpv6AppendOptionRaw 将 DHCPv6 选项追加到回复数据包。
PxeDhcpv6GetOptionValue 从 DHCPv6 数据包中检索选项值。
PxeDhcpv6GetVendorOptionValue 从 DHCPv6 数据包的 OPTION_VENDOR_OPTS (17) 字段中检索选项值。
PxeDhcpv6Initialize 将响应数据包初始化为 DHCPv6 回复数据包。
PxeDhcpv6IsValid 验证数据包是否为有效的 DHCPv6 数据包。
PxeGetServerInfoEx 返回有关 PXE 服务器的信息。
PxeDhcpv6ParseRelayForw 使提供程序能够分析 RELAY-FORW 消息及其嵌套OPTION_RELAY_MSG消息。
PxeDhcpv6CreateRelayRepl 生成 RELAY-REPL 消息。