Changeset 82279 in vbox for trunk/include/VBox
- Timestamp:
- Nov 29, 2019 11:42:20 AM (5 years ago)
- svn:sync-xref-src-repo-rev:
- 135103
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/GuestHost/clipboard-helper.h
r81369 r82279 36 36 37 37 /** Constants needed for string conversions done by the Linux/Mac clipboard code. */ 38 enum { 38 enum 39 { 39 40 /** In Linux, lines end with a linefeed character. */ 40 LINEFEED = 0xa,41 VBOX_SHCL_LINEFEED = 0xa, 41 42 /** In Windows, lines end with a carriage return and a linefeed character. */ 42 CARRIAGERETURN = 0xd,43 VBOX_SHCL_CARRIAGERETURN = 0xd, 43 44 /** Little endian "real" UTF-16 strings start with this marker. */ 44 UTF16LEMARKER = 0xfeff,45 VBOX_SHCL_UTF16LEMARKER = 0xfeff, 45 46 /** Big endian "real" UTF-16 strings start with this marker. */ 46 UTF16BEMARKER = 0xfffe47 VBOX_SHCL_UTF16BEMARKER = 0xfffe 47 48 }; 48 49 … … 109 110 typedef struct BMFILEHEADER 110 111 { 111 /** @todo r=bird: this type centric prefixing is what give hungarian notation a bad name... */ 112 uint16_t u16Type; 113 uint32_t u32Size; 114 uint16_t u16Reserved1; 115 uint16_t u16Reserved2; 116 uint32_t u32OffBits; 112 uint16_t uType; 113 uint32_t uSize; 114 uint16_t uReserved1; 115 uint16_t uReserved2; 116 uint32_t uOffBits; 117 117 } BMFILEHEADER; 118 #pragma pack() 119 118 120 /** Pointer to a BMFILEHEADER structure. */ 119 121 typedef BMFILEHEADER *PBMFILEHEADER; … … 127 129 typedef struct BMINFOHEADER 128 130 { 129 /** @todo r=bird: this type centric prefixing is what give hungarian notation a bad name... */ 130 uint32_t u32Size; 131 uint32_t u32Width; 132 uint32_t u32Height; 133 uint16_t u16Planes; 134 uint16_t u16BitCount; 135 uint32_t u32Compression; 136 uint32_t u32SizeImage; 137 uint32_t u32XBitsPerMeter; 138 uint32_t u32YBitsPerMeter; 139 uint32_t u32ClrUsed; 140 uint32_t u32ClrImportant; 131 uint32_t uSize; 132 uint32_t uWidth; 133 uint32_t uHeight; 134 uint16_t uPlanes; 135 uint16_t uBitCount; 136 uint32_t uCompression; 137 uint32_t uSizeImage; 138 uint32_t uXBitsPerMeter; 139 uint32_t uYBitsPerMeter; 140 uint32_t uClrUsed; 141 uint32_t uClrImportant; 141 142 } BMINFOHEADER; 142 143 /** Pointer to a BMINFOHEADER structure. */ 143 144 typedef BMINFOHEADER *PBMINFOHEADER; 144 #pragma pack() /** @todo r=bird: Only BMFILEHEADER needs packing. The BMINFOHEADER is perfectly aligned. */145 145 146 146 /**
Note:
See TracChangeset
for help on using the changeset viewer.