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

# GetColorProfileFromHandle(3w)

## NAME

**GetColorProfileFromHandle** (MSCMS.@)

## SYNOPSIS

BOOL GetColorProfileFromHandle\
  (\
   HPROFILE *handle*,\
   PBYTE    *buffer*,\
   PDWORD   *size*\
  )

## DESCRIPTION

Retrieve an **ICC** color profile by *handle*.

## PARAMS

profile **\[In\]**  Handle to a color profile.

*buffer* **\[Out\]**  Buffer to receive the **ICC** profile.

*size* **\[In/Out\]**  Size of the *buffer* in bytes. On return the variable holds the number of bytes actually needed.

## RETURNS

**Success:** **TRUE**

**Failure:** **FALSE**.

## NOTES

The profile returned will be in big-endian format.

## IMPLEMENTATION

Declared in **"icm.h"**.

Implemented in **"dlls/mscms/profile.c"**.

Debug channel **"mscms"**.
