Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The DhcpSetThreadOptions function sets options on the currently executing DHCP thread.
Syntax
DWORD DhcpSetThreadOptions(
[in] DWORD Flags,
[in] LPVOID Reserved
);
Parameters
[in] Flags
Set of bit flags indicating thread settings. If no thread options are set, the value is 0. Currently, the only bit flag that can be set is as follows.
[in] Reserved
Reserved. This parameter must be set to NULL.
Return value
This function returns ERROR_SUCCESS upon a successful call. Otherwise, it returns one of the DHCP Server Management API Error Codes.
Remarks
DhcpSetThreadOptions currently allows only one option to be set.
Requirements
Requirement | Value |
---|---|
Minimum supported client | None supported |
Minimum supported server | Windows Server 2008, Windows Server 2008 R2 [desktop apps only] |
Target Platform | Windows |
Header | dhcpsapi.h |
Library | Dhcpsapi.lib |
DLL | Dhcpsapi.dll |