---
UID: NF:commctrl.FIRST_IPADDRESS
title: FIRST_IPADDRESS macro (commctrl.h)
description: Extracts the field 0 value from a packed IP address retrieved with the IPM_GETADDRESS message.
old-location: controls\FIRST_IPADDRESS.htm
tech.root: Controls
ms.assetid: VS|Controls|~\controls\ipaddress\macros\first_ipaddress.htm
ms.date: 12/05/2018
ms.keywords: FIRST_IPADDRESS, FIRST_IPADDRESS macro [Windows Controls], _win32_FIRST_IPADDRESS, _win32_FIRST_IPADDRESS_cpp, commctrl/FIRST_IPADDRESS, controls.FIRST_IPADDRESS, controls._win32_FIRST_IPADDRESS
f1_keywords:
- commctrl/FIRST_IPADDRESS
dev_langs:
- c++
req.header: commctrl.h
req.include-header: 
req.target-type: Windows
req.target-min-winverclnt: Windows Vista [desktop apps only]
req.target-min-winversvr: Windows Server 2003 [desktop apps only]
req.kmdf-ver: 
req.umdf-ver: 
req.ddi-compliance: 
req.unicode-ansi: 
req.idl: 
req.max-support: 
req.namespace: 
req.assembly: 
req.type-library: 
req.lib: 
req.dll: 
req.irql: 
topic_type:
- APIRef
- kbSyntax
api_type:
- HeaderDef
api_location:
- Commctrl.h
api_name:
- FIRST_IPADDRESS
targetos: Windows
req.typenames: 
req.redist: 
ms.custom: 19H1
---

# FIRST_IPADDRESS macro


## -description


Extracts the field 0 value from a packed IP address retrieved with the <a href="https://docs.microsoft.com/windows/desktop/Controls/ipm-getaddress">IPM_GETADDRESS</a> message. 


## -parameters




### -param x

Type: <b><a href="https://docs.microsoft.com/windows/desktop/WinProg/windows-data-types">LPARAM</a></b>

The packed IP address value. 

