/programs/develop/examples/clipboard/clipboard_container.txt |
---|
File deleted |
/programs/develop/examples/clipboard/clipboard_container_eng.txt |
---|
0,0 → 1,34 |
Сontents of container from clipboard |
1. First dword - contains the total length of data in the container |
2. Second dword - indicates the type of data: |
0 = Text |
1 = Highlighted text block |
2 = Image |
3 = RAW |
4 and above reserved |
2.1 Text |
Data in the third dword contain type: |
0 = UTF |
1 = 0866 |
2 = 1251 |
3 and above reserved |
2.2 Highlighted text block |
Differs from 2.1 - that all rows have the same length. |
2.3 Image |
Third dword - X size |
Fourth dword - Y size |
Fifth dword - bit color depth (8, 16, 24, 32, 48, 64) |
Sixth dword - Pointer to the palette (the offset from the beginning of the file). |
If the palette is not set then value 0 |
Seventh dword - The size of the palette, the maximum value of 256 * 4 = 1024 bytes. |
If the palette is not set then value 0 |
Eighth dword - A pointer to the pixel data for the R, G, B. |
Ninth dword - The size of the data for pixels. |
2.4 RAW |
Can contain any data, because content at the discretion of the programmer |
/programs/develop/examples/clipboard/clipboard_container_rus.txt |
---|
0,0 → 1,34 |
Содержимое контейнера буфера обмена |
1. Первый dword содержит общую длину данных в контейнере |
2. Второй dword указывает тип данныx: |
0 = Текст |
1 = Текст с блочным выделением |
2 = Изображение |
3 = RAW |
4 и выше зарезервировано |
2.1 Текст |
Данные в третьем dword содержат тип: |
0 = UTF |
1 = 0866 |
2 = 1251 |
3 и выше зарезервировано |
2.2 Текст с блочным выделением |
Отличается от п.2.1 только тем, что все строки имеют одинаковую длинну. |
2.3 Изображение |
Третий dword - размер по X |
Четвертый dword - размер по Y |
Пятый dword - глубина цвета в битах (8, 16, 24, 32, 48, 64) |
Шестой dword - Указатель на палитру (смещение от начала файла). |
Если палитры нет то значение 0 |
Седьмой dword - Размер области палитры, максимальное значение 256*4=1024байт. |
Если палитры нет то значение 0 |
Восьмой dword - Указатель на данные пикселей для R, G, B. |
Девятый dword - Размер области данных для пикселей. |
2.4 RAW |
Может содержать любые данные, т.к. содержимое на усмотрение программиста |