Changeset 85856 in vbox for trunk/include
- Timestamp:
- Aug 21, 2020 9:06:50 AM (4 years ago)
- Location:
- trunk/include
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/GuestHost/clipboard-helper.h
r85845 r85856 165 165 int ShClConvLatin1LFToUtf16CRLF(const char *pcszSrc, size_t cbSrc, PRTUTF16 *ppwszDst, size_t *pcwDst); 166 166 167 #pragma pack(1)168 /** @todo r=bird: Why duplicate these structures here, we've got them in169 * DevVGA.cpp already! */170 /**171 * Bitmap File Header. Official win32 name is BITMAPFILEHEADER172 * Always Little Endian.173 */174 typedef struct BMFILEHEADER175 {176 uint16_t uType;177 uint32_t uSize;178 uint16_t uReserved1;179 uint16_t uReserved2;180 uint32_t uOffBits;181 } BMFILEHEADER;182 #pragma pack()183 184 /** Pointer to a BMFILEHEADER structure. */185 typedef BMFILEHEADER *PBMFILEHEADER;186 /** BMP file magic number */187 #define BITMAPHEADERMAGIC (RT_H2LE_U16_C(0x4d42))188 189 /**190 * Bitmap Info Header. Official win32 name is BITMAPINFOHEADER191 * Always Little Endian.192 */193 typedef struct BMINFOHEADER194 {195 uint32_t uSize;196 uint32_t uWidth;197 uint32_t uHeight;198 uint16_t uPlanes;199 uint16_t uBitCount;200 uint32_t uCompression;201 uint32_t uSizeImage;202 uint32_t uXBitsPerMeter;203 uint32_t uYBitsPerMeter;204 uint32_t uClrUsed;205 uint32_t uClrImportant;206 } BMINFOHEADER;207 /** Pointer to a BMINFOHEADER structure. */208 typedef BMINFOHEADER *PBMINFOHEADER;209 210 167 /** 211 168 * Convert CF_DIB data to full BMP data by prepending the BM header.
Note:
See TracChangeset
for help on using the changeset viewer.