Reference

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".

History