The DhcpEnumOptionsV6 function returns an enumerated list of DHCP options for a given class and/or vendor.

Namespace: CENTREL.XIA.Network.Management.DHCPCENTREL.XIA.Network.Management.DHCPCENTREL::XIA::Network::Management::DHCP
Assembly: CENTREL.XIA.Network.Management.DHCP (in CENTREL.XIA.Network.Management.DHCP.dll)

Syntax

C#

[DllImport("dhcpsapi.dll", EntryPoint = "DhcpEnumOptionsV6", CharSet = CharSet.Auto, ExactSpelling = false, SetLastError = true, PreserveSig = true, CallingConvention = CallingConvention.Winapi, BestFitMapping = false, ThrowOnUnmappableChar = false)]

[PreserveSig]

protected static extern uint DhcpEnumOptionsV6(

string ServerIpAddress,

uint Flags,

IntPtr ClassName,

IntPtr VendorName,

ref uint ResumeHandle,

uint PreferredMaximum,

out IntPtr Options,

ref uint OptionsRead,

ref uint OptionsTotal

)

VB

<PreserveSig> _

Protected Declare Auto Function DhcpEnumOptionsV6 Lib "dhcpsapi.dll" ( _

ServerIpAddress As String, _

Flags As UInteger, _

ClassName As IntPtr, _

VendorName As IntPtr, _

ByRef ResumeHandle As UInteger, _

PreferredMaximum As UInteger, _

<OutByRef Options As IntPtr, _

ByRef OptionsRead As UInteger, _

ByRef OptionsTotal As UInteger _

) As UInteger

C++

protected:

[DllImport(L"dhcpsapi.dll", EntryPoint = L"DhcpEnumOptionsV6", CharSet = CharSet::Auto, ExactSpelling = false, SetLastError = true, PreserveSig = true, CallingConvention = CallingConvention::Winapi, BestFitMapping = false, ThrowOnUnmappableChar = false)]

[PreserveSig]

static unsigned int DhcpEnumOptionsV6(

String^ ServerIpAddress,

unsigned int Flags,

IntPtr ClassName,

IntPtr VendorName,

unsigned int% ResumeHandle,

unsigned int PreferredMaximum,

[OutIntPtr% Options,

unsigned int% OptionsRead,

unsigned int% OptionsTotal

)

Parameters

Return Value

Type: System.UInt32System.UInt32System::UInt32

Remarks

http://msdn.microsoft.com/en-us/library/windows/desktop/bb871556(v=vs.85).aspx

See Also

DHCPServerManagementDHCPServerManagementDHCPServerManagement Class
CENTREL.XIA.Network.Management.DHCPCENTREL.XIA.Network.Management.DHCPCENTREL::XIA::Network::Management::DHCP Namespace