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

# ScriptItemizeOpenType(3w)

## NAME

**ScriptItemizeOpenType** (USP10.@)

## SYNOPSIS

HRESULT ScriptItemizeOpenType\
  (\
   const WCHAR\*          *pwcInChars*,\
   int                   *cInChars*,\
   int                   *cMaxItems*,\
   const SCRIPT\_CONTROL\* *psControl*,\
   const SCRIPT\_STATE\*   *psState*,\
   SCRIPT\_ITEM\*          *pItems*,\
   OPENTYPE\_TAG\*         *pScriptTags*,\
   int\*                  *pcItems*\
  )

## DESCRIPTION

Split a Unicode string into shapeable parts.

## PARAMS

*pwcInChars* **\[In\]**  String to split.

*cInChars* **\[In\]**  Number of characters in *pwcInChars*.

*cMaxItems* **\[In\]**  Maximum number of items to return.

*psControl* **\[In\]**  Pointer to a **SCRIPT\_CONTROL** structure.

*psState* **\[In\]**  Pointer to a **SCRIPT\_STATE** structure.

*pItems* **\[Out\]**  Buffer to receive **SCRIPT\_ITEM** structures.

*pScriptTags* **\[Out\]**  Buffer to receive OPENTYPE\_TAGs.

*pcItems* **\[Out\]**  Number of script items returned.

## RETURNS

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

**Failure:** Non-zero **HRESULT** value.

## IMPLEMENTATION

Not declared in a Wine header. The function is either undocumented, or missing from Wine.

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

Debug channel **"uniscribe"**.
