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

# SetColorProfileElement(3w)

## NAME

**SetColorProfileElement** (MSCMS.@)

## SYNOPSIS

BOOL SetColorProfileElement\
  (\
   HPROFILE *handle*,\
   TAGTYPE  *type*,\
   DWORD    *offset*,\
   PDWORD   *size*,\
   PVOID    *buffer*\
  )

## DESCRIPTION

Set data for a specified tag *type*.

## PARAMS

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

*type* **\[In\]**  **ICC** tag *type*.

*offset* **\[In\]**  Offset in bytes to start copying to.

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

*buffer* **\[Out\]**  Buffer holding the tag data.

## RETURNS

**Success:** **TRUE**

**Failure:** **FALSE**

## IMPLEMENTATION

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

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

Debug channel **"mscms"**.
