Type a page name and press Enter. You'll jump to the page if it exists, or you can create it if it doesn't.
To create a page in a module other than dhcpsapi, prefix the name with the module name and a period.
DhcpGetVersion (dhcpsapi)
.
C# Signature:
[DllImport("dhcpsapi.dll", SetLastError = true, CharSet = CharSet.Unicode)]
static extern uint DhcpGetVersion(
string ServerIpAddress,
out int MajorVersion,
out int MinorVersion
);
[DllImport("dhcpsapi.dll", SetLastError=true)]
static extern TODO DhcpGetVersion(TODO);
VB Signature:
Declare Unicode Function DhcpGetVersion Lib "Dhcpsapi" ( _
ByVal ServerIpAddress As String, _
ByRef MajorVersion As Integer, _
ByRef MinorVersion As Integer) As Integer
Declare Unicode Function DhcpGetVersion Lib "Dhcpsapi" (ByVal ServerIpAddress As String, ByRef MajorVersion As Integer, ByRef MinorVersion As Integer) As Integer
User-Defined Types:
None.
Alternative Managed API:
Do you know one? Please contribute it!
Notes:
ServerIpAddress (in)
Unicode string that specifies the IP address or hostname of the DHCP server.
None.
MajorVersion (out)
Specifies the major version number of the DHCP server.
MinorVersion (out)
Specifies the minor version number of the DHCP server.
The DhcpGetVersion function returns the major and minor version numbers of the DHCP server.
12/10/2010 9:43:10 AM - -208.7.93.71
Please edit this page!
Do you have...
helpful tips or sample code to share for using this API in managed code?
corrections to the existing content?
variations of the signature you want to share?
additional languages you want to include?
Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing supporting types needed for this API (structures, delegates, and more).