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

# TranslateBitmapBits(3w)

## NAME

**TranslateBitmapBits** (MSCMS.@)

## SYNOPSIS

BOOL TranslateBitmapBits\
  (\
   HTRANSFORM    *handle*,\
   PVOID         *srcbits*,\
   BMFORMAT      *input*,\
   DWORD         *width*,\
   DWORD         *height*,\
   DWORD         *inputstride*,\
   PVOID         *destbits*,\
   BMFORMAT      *output*,\
   DWORD         *outputstride*,\
   PBMCALLBACKFN *callback*,\
   ULONG         *data*\
  )

## DESCRIPTION

Perform color translation.

## PARAMS

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

*srcbits* **\[In\]**  Source bitmap.

*input* **\[In\]**  Format of the source bitmap.

*width* **\[In\]**  Width of the source bitmap.

*height* **\[In\]**  Height of the source bitmap.

*inputstride* **\[In\]**  Number of bytes in one scanline.

*destbits* **\[In\]**  Destination bitmap.

*output* **\[In\]**  Format of the destination bitmap.

*outputstride* **\[In\]**  Number of bytes in one scanline.

*callback* **\[In\]**  Callback function.

*data* **\[In\]**  Callback *data*.

## RETURNS

**Success:** **TRUE**

**Failure:** **FALSE**

## IMPLEMENTATION

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

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

Debug channel **"mscms"**.
