NAME

NtGdiSetBitmapDimension  (WIN32U.@)

SYNOPSIS

 BOOL NtGdiSetBitmapDimension
 (
  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® 2000.

RETURNS

Success: TRUE

Failure: FALSE

IMPLEMENTATION

Declared in "ntgdi.h". https://source.winehq.org/source/include/ntgdi.h

Implemented in "dlls/win32u/bitmap.c". https://source.winehq.org/source/dlls/win32u/bitmap.c

Debug channel "bitmap".


Copyright © 2022 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Jan 2022.