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

# LoadImageW(3w)

## NAME

**LoadImageW** (USER32.@)

## SYNOPSIS

HANDLE LoadImageW\
  (\
   HINSTANCE *hinst*,\
   LPCWSTR   *name*,\
   UINT      *type*,\
   INT       *desiredx*,\
   INT       *desiredy*,\
   UINT      *loadflags*\
  )

## DESCRIPTION

LoadImageW (**USER32**.@) Loads an icon, cursor, or bitmap.

## PARAMS

*hinst* **\[In\]**  Handle of instance that contains image.

*name* **\[In\]**  Name of image.

*type* **\[In\]**  Type of image.

*desiredx* **\[In\]**  Desired width.

*desiredy* **\[In\]**  Desired height.

*loadflags* **\[In\]**  Load flags.

## RETURNS

**Success:** Handle to newly loaded image

**Failure:** **NULL**.

**FIXME:** Implementation lacks some features, see **LR\_** defines in winuser.h

## IMPLEMENTATION

Declared in **"commctrl.h"**.

Implemented in **"dlls/user32/cursoricon.c"**.

Debug channel **"cursor"**.
