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

# AssocIsDangerous(3w)

## NAME

**AssocIsDangerous** (SHLWAPI.@)

## SYNOPSIS

BOOL AssocIsDangerous\
  (\
   LPCWSTR *lpszAssoc*\
  )

## DESCRIPTION

Determine if a file association is dangerous (potentially malware).

## PARAMS

*lpszAssoc* **\[In\]**  Name of file or file extension to check.

## RETURNS

**TRUE**, if *lpszAssoc* may potentially be malware (executable), **FALSE**, Otherwise.

## IMPLEMENTATION

Declared in **"shlwapi.h"**.

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

Debug channel **"shell"**.
