---
UID: NF:fdi_fci_types.TCOMPfromLZXWindow
title: TCOMPfromLZXWindow macro (fdi_fci_types.h)
description: The TCOMPfromLZXWindow macro converts window size into an LXZTCOMP value for FCIAddFile.
old-location: winprog\tcompfromlzxwindow.htm
tech.root: DevNotes
ms.assetid: 39b5a1e0-a711-444b-8326-4aba9a98f203
ms.date: 12/05/2018
ms.keywords: TCOMPfromLZXWindow, TCOMPfromLZXWindow macro [Windows API], fdi_fci_types/TCOMPfromLZXWindow, winprog.tcompfromlzxwindow
f1_keywords:
- fdi_fci_types/TCOMPfromLZXWindow
dev_langs:
- c++
req.header: fdi_fci_types.h
req.include-header: Fci.h
req.target-type: Windows
req.target-min-winverclnt: 
req.target-min-winversvr: 
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:
- fdi_fci_types.h
api_name:
- TCOMPfromLZXWindow
targetos: Windows
req.typenames: 
req.redist: 
ms.custom: 19H1
---

# TCOMPfromLZXWindow macro


## -description


The <b>TCOMPfromLZXWindow</b> macro converts window size into an LXZTCOMP value for <a href="https://docs.microsoft.com/windows/desktop/api/fci/nf-fci-fciaddfile">FCIAddFile</a>.


## -parameters




### -param w

The LZX window size. Possible value range is 15-21.


## -see-also




<a href="https://docs.microsoft.com/windows/desktop/api/fci/nf-fci-fciaddfile">FCIAddFile</a>
 

 

