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

# ScriptApplyDigitSubstitution(3w)

## NAME

**ScriptApplyDigitSubstitution** (USP10.@)

## SYNOPSIS

HRESULT ScriptApplyDigitSubstitution\
  (\
   const SCRIPT\_DIGITSUBSTITUTE\* *sds*,\
   SCRIPT\_CONTROL\*               *sc*,\
   SCRIPT\_STATE\*                 *ss*\
  )

## DESCRIPTION

Apply digit substitution settings.

## PARAMS

*sds* **\[In\]**  Structure with recorded substitution settings.

*sc* **\[In\]**  Script control structure.

*ss* **\[In\]**  Script state structure.

## RETURNS

**Success:** **S\_OK**

**Failure:** **E\_INVALIDARG** if *sds* is invalid. Otherwise an **HRESULT**.

## IMPLEMENTATION

Declared in **"usp10.h"**.

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

Debug channel **"uniscribe"**.
