CreateDPIScaledDIBSection - NtDoc

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

// rev
/**
 * The CreateDPIScaledDIBSection routine creates a DIB with internal flag 0x10 and tracks the returned
 * handle. The first six arguments follow CreateDIBSection; the seventh ABI slot is unused in the inspected
 * bodies (x86 ret 28). Bits receives a pointer, not a scalar width.
 *
 * \param Hdc Device context handle.
 * \param BitmapInfo Bitmap information.
 * \param Usage Bitmap color-table usage.
 * \param Bits Receives the bitmap bits.
 * \param Section Section handle backing the DIB.
 * \param Offset Offset into the section.
 * \param Unused Historical argument ignored by this routine.
 */
NTSYSAPI
HBITMAP
NTAPI
CreateDPIScaledDIBSection(
    _In_opt_ HDC Hdc,
    _In_ CONST BITMAPINFO *BitmapInfo,
    _In_ ULONG Usage,
    _Out_opt_ PVOID *Bits,
    _In_opt_ HANDLE Section,
    _In_ ULONG Offset,
    _In_ ULONG_PTR Unused
    );

#endif

View code on GitHub

NtDoc

No description available.