NTSTATUS
IopWriteIpAddressToRegistry(
      HANDLE handle,
      PWCHAR regkey,
      PUCHAR value
  );

Routine Description:

    This function adds a default gateway entry from the router table.

Arguments:

    GatewayAddress - Address of the default gateway.

Return Value:

    Error Code.