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

# ScriptItemize(3w)

## NAME

**ScriptItemize** (USP10.@)

## SYNOPSIS

HRESULT ScriptItemize\
  (\
   const WCHAR\*          *pwcInChars*,\
   int                   *cInChars*,\
   int                   *cMaxItems*,\
   const SCRIPT\_CONTROL\* *psControl*,\
   const SCRIPT\_STATE\*   *psState*,\
   SCRIPT\_ITEM\*          *pItems*,\
   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.

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

## RETURNS

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

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

## IMPLEMENTATION

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

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

Debug channel **"uniscribe"**.
