---
name: "MsiQueryFeatureStateW"
section: "3w"
platform: "linux"
package: "libwine-dev"
version: "1.4.1-4"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/MsiQueryFeatureStateW"
---

# MsiQueryFeatureStateW(3w)

## NAME

**MsiQueryFeatureStateW** (MSI.@)

## SYNOPSIS

INSTALLSTATE MsiQueryFeatureStateW\
  (\
   LPCWSTR *szProduct*,\
   LPCWSTR *szFeature*\
  )

## DESCRIPTION

Checks the state of a feature.

## PARAMS

*szProduct* **\[In\]**  Product's **GUID** string.

*szFeature* **\[In\]**  Feature's **GUID** string.

## RETURNS

**INSTALLSTATE\_LOCAL** Feature is installed and usable **INSTALLSTATE\_ABSENT** Feature is absent **INSTALLSTATE\_ADVERTISED** Feature should be installed on demand **INSTALLSTATE\_UNKNOWN** An error occurred **INSTALLSTATE\_INVALIDARG** One of the GUIDs was invalid

## IMPLEMENTATION

Declared in **"msi.h"**.

Implemented in **"dlls/msi/msi.c"**.

Debug channel **"msi"**.
