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

# WintrustAddActionID(3w)

## NAME

**WintrustAddActionID** (WINTRUST.@)

## SYNOPSIS

BOOL WintrustAddActionID\
  (\
   GUID\*                    *pgActionID*,\
   DWORD                    *fdwFlags*,\
   CRYPT\_REGISTER\_ACTIONID\* *psProvInfo*\
  )

## DESCRIPTION

Add the definitions of the actions a Trust provider can perform to the registry.

## PARAMS

*pgActionID* **\[In\]**  Pointer to a **GUID** for the Trust provider.

*fdwFlags* **\[In\]**  Flag to indicate whether registry errors are passed on.

*psProvInfo* **\[In\]**  Pointer to a structure with information about dll name and functions.

## RETURNS

**Success:** **TRUE**.

**Failure:** **FALSE**. (Use **[GetLastError(3w)](/GetLastError/3w.md)** for more information).

## NOTES

Adding definitions is basically only adding relevant information to the registry. No verification takes place whether a dll or it's entrypoints exist. Information in the registry will always be overwritten.

## IMPLEMENTATION

Declared in **"wintrust.h"**.

Implemented in **"dlls/wintrust/register.c"**.

Debug channel **"wintrust"**.
