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

# ScriptGetCMap(3w)

## NAME

**ScriptGetCMap** (USP10.@)

## SYNOPSIS

HRESULT ScriptGetCMap\
  (\
   HDC           *hdc*,\
   SCRIPT\_CACHE\* *psc*,\
   const WCHAR\*  *pwcInChars*,\
   int           *cChars*,\
   DWORD         *dwFlags*,\
   WORD\*         *pwOutGlyphs*\
  )

## DESCRIPTION

Retrieve glyph indices.

## PARAMS

*hdc* **\[In\]**  Device context.

*psc* **\[In/Out\]**  Opaque pointer to a script cache.

*pwcInChars* **\[In\]**  Array of Unicode characters.

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

*dwFlags* **\[In\]**  Flags.

*pwOutGlyphs* **\[Out\]**  Buffer to receive the array of glyph indices.

## RETURNS

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

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

## IMPLEMENTATION

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

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

Debug channel **"uniscribe"**.
