Reference

SetBitmapDimensionEx(3w)

NAME

SetBitmapDimensionEx (GDI32.@)

SYNOPSIS

BOOL SetBitmapDimensionEx
(
HBITMAP hbitmap,
INT x,
INT y,
LPSIZE prevSize
)

PARAMS

hbitmap [In] Handle to bitmap.

x [In] Bitmap width.

y [In] Bitmap height.

prevSize [Out] Address of structure for orig dims.

DESCRIPTION

Assigns dimensions to a bitmap. MSDN says that this function will fail if hbitmap is a handle created by CreateDIBSection, but that's not TRUE on Windows(tm) 2000.

RETURNS

Success: TRUE

Failure: FALSE

IMPLEMENTATION

Declared in "wingdi.h".

Implemented in "dlls/gdi32/bitmap.c".

Debug channel "bitmap".

History