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

# SHGetInverseCMAP(3w)

## NAME

**SHGetInverseCMAP** (SHLWAPI.@)

## SYNOPSIS

HRESULT SHGetInverseCMAP\
  (\
   LPDWORD *dest*,\
   DWORD   *dwSize*\
  )

## DESCRIPTION

Get an inverse color map table.

## PARAMS

lpCmap **\[Out\]**  Destination for color map.

*dwSize* **\[In\]**  Size of memory pointed to by lpCmap.

## RETURNS

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

**Failure:** **E\_POINTER**, If lpCmap is invalid. **E\_INVALIDARG**, If dwFlags is invalid **E\_OUTOFMEMORY**, If there is no memory available.

## NOTES

*dwSize* may only be **CMAP\_PTR\_SIZE** (**4**) or **CMAP\_SIZE** (**8192**). If *dwSize* = **CMAP\_PTR\_SIZE**, \*lpCmap is set to the address of this **DLL**'s internal CMap. If *dwSize* = **CMAP\_SIZE**, lpCmap is filled with a copy of the data from this **DLL**'s internal CMap.

## IMPLEMENTATION

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

Implemented in **"dlls/shlwapi/ordinal.c"**.

Debug channel **"shell"**.
