CreateScaledCompatibleBitmap - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
#ifndef _NTUSER_H

// rev
/**
 * The CreateScaledCompatibleBitmap routine creates a scaled compatible bitmap for a device context.
 *
 * \param Hdc A handle to the device context.
 * \param Width Bitmap width in pixels.
 * \param Height Bitmap height in pixels.
 * \param Scale DPI scaling factor.
 * \returns A handle or status code representing the result.
 */
NTSYSAPI
LONG_PTR
NTAPI
CreateScaledCompatibleBitmap(
    _In_ HDC Hdc,
    _In_ LONG Width,
    _In_ LONG Height,
    _In_ SHORT Scale
    );

#endif

View code on GitHub

NtDoc

No description available.