---
name: "IQueryAssociations_GetData"
section: "3w"
platform: "linux"
package: "libwine-dev"
version: "1.0.1-3.1"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/IQueryAssociations_GetData"
---

# IQueryAssociations\_GetData(3w)

## NAME

**IQueryAssociations\_GetData** (SHLWAPI.@)

## SYNOPSIS

static HRESULT IQueryAssociations\_GetData\
  (\
   IQueryAssociations\* *iface*,\
   ASSOCF              *cfFlags*,\
   ASSOCDATA           *assocdata*,\
   LPCWSTR             *pszExtra*,\
   LPVOID              *pvOut*,\
   DWORD\*              *pcbOut*\
  )

## DESCRIPTION

Get the data for a file association key from the registry.

## PARAMS

*iface* **\[In\]**  **IQueryAssociations** interface to query.

*cfFlags* **\[In\]**  **ASSOCF\_** flags from **"shlwapi.h"**.

*assocdata* **\[In\]**  Type of data to get (**ASSOCDATA** enum from **"shlwapi.h"**).

*pszExtra* **\[In\]**  Extra information about the data location.

*pvOut* **\[Out\]**  Destination for the association key.

*pcbOut* **\[In/Out\]**  Size of *pvOut*.

## RETURNS

**Success:** **S\_OK**. pszOut contains the data, *pcbOut* contains its length.

**Failure:** An **HRESULT** error code indicating the error.

## IMPLEMENTATION

Defined in **"shlwapi.h"**.

Implemented in **"dlls/shlwapi/assoc.c"**.

Debug channel **"shell"**.
