---
name: "_CreateAllAccessSecurityAttributes"
section: "3w"
platform: "linux"
package: "libwine-dev"
version: "0.9.25-2.1"
release: "Debian 4.0 (Etch)"
platforms: ["linux"]
url: "https://new.carta.tech/_CreateAllAccessSecurityAttributes"
---

# \_CreateAllAccessSecurityAttributes(3w)

## NAME

**\_CreateAllAccessSecurityAttributes** (SHLWAPI.356)

## SYNOPSIS

LPSECURITY\_ATTRIBUTES \_CreateAllAccessSecurityAttributes\
  (\
   LPSECURITY\_ATTRIBUTES *lpAttr*,\
   PSECURITY\_DESCRIPTOR  *lpSec*,\
   DWORD                 *p3*\
  )

## DESCRIPTION

Initialise security attributes from a security descriptor.

## PARAMS

*lpAttr* **\[Out\]**  Security attributes.

*lpSec* **\[In\]**  Security descriptor.

## RETURNS

**Success:** *lpAttr*, initialised using *lpSec*.

**Failure:** **NULL**, if any parameters are invalid.

## NOTES

This function always returns **NULL** if the underlying **OS** version Wine is impersonating does not use security descriptors (i.e. anything before Windows(tm) **NT**).

## IMPLEMENTATION

Exported by ordinal only. Use **[GetProcAddress(3w)](/GetProcAddress/3w.md)** to obtain a pointer to the function.

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

Debug channel **"shell"**.
