• Ove Kaaven's avatar
    Added DIB_CreateDIBSection with extra parameter ovr_pitch, added · 8b9f3385
    Ove Kaaven authored
    ovr_pitch to pCreateDIBSection in DC_FUNCS. If ovr_pitch is nonzero,
    it is a pitch override (specifies bytes per line), and tells to treat
    the offset parameter as an already-mapped virtual memory address (if
    the section parameter is zero). Fixed a DIB status init bug in
    creating DIB sections from file mappings (if created from mapping, the
    DIB is *not* really InSync).
    8b9f3385
dib.c 116 KB