CreateSessionMappedDIBSection - NtDoc

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

// rev
/**
 * The CreateSessionMappedDIBSection routine creates a session-mapped DIB from an existing non-NULL section.
 * The wrapper supplies NULL for the ordinary Bits output and selects the session-mapped helper path. The
 * return value is a bitmap handle, not a pixel pointer.
 *
 * \param Hdc Device context handle.
 * \param BitmapInfo Bitmap information.
 * \param Usage Bitmap color-table usage.
 * \param Section Section handle backing the DIB.
 * \param Offset Offset into the section.
 */
NTSYSAPI
HBITMAP
NTAPI
CreateSessionMappedDIBSection(
    _In_opt_ HDC Hdc,
    _In_ CONST BITMAPINFO *BitmapInfo,
    _In_ ULONG Usage,
    _In_ HANDLE Section,
    _In_ ULONG Offset
    );

#endif

View code on GitHub

NtDoc

No description available.