Source position: IdWinsock2.pas line 2722
type LPFN_GETHOSTNAME = function(
name: PIdAnsiChar;
len: Integer
):Integer;