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

# GetICMProfileA(3w)

## NAME

**GetICMProfileA** (GDI32.@)

## SYNOPSIS

BOOL GetICMProfileA\
  (\
   HDC     *hdc*,\
   LPDWORD *size*,\
   LPSTR   *filename*\
  )

## DESCRIPTION

Returns the *filename* of the specified device context's color management profile, even if color management is not enabled for that **DC**.

## RETURNS

**TRUE** if *filename* is copied successfully. **FALSE** if the buffer length pointed to by *size* is too small.

## FIXME

How does Windows(tm) assign these? Some registry key?

## IMPLEMENTATION

Declared in **"wingdi.h"**.

Implemented in **"dlls/gdi32/icm.c"**.

Debug channel **"icm"**.
