Retrieves the address values for all four fields in the IP Address Control.
int GetAddress(
BYTE& nField0,
BYTE& nField1,
BYTE& nField2,
BYTE& nField3
);
int GetAddress(
DWORD& dwAddress
);
Parameters
nField0
A reference to the field 0 value from a packed IP address.
nField1
A reference to the field 1 value from a packed IP address.
nField2
A reference to the field 2 value from a packed IP address.
nField3
A reference to the field 3 value from a packed IP address.
dwAddress
A reference to the address of a DWORD value that receives the IP address. See Remarks for a table that shows how dwAddress is filled.
Return Value
The number of non-blank fields in the IP Address Control.