.clp clipboard file format



microsoft windows clipboard (clipbrd.exe) saves and reads its data in files with the .clp extension. a .clp file contains a value identifying it as a clipboard data file; one or more structures defining the format, size, and location of the data; and one or more blocks of actual data.

clipboard-file header

the clipboard data file begins with a header consisting of two members. following are the members in this header:

fileidentifier    identifies the file as a clipboard data file. this member must be set to clp_id. this is a 2-byte value.

formatcount    specifies the number of clipboard formats contained in the file. this is a 2-byte value.

clipboard-file structure

the header is followed by one or more structures, each of which identifies the format, size, and offset of a block containing clipboard data. following are the members in this structure:

formatid    specifies the clipboard-format identifier of the clipboard data. for a description of the various formats that are available, see the description of setclipboarddata. this is 2-byte value.

lendata    specifies the length, in bytes, of the clipboard data. this is a 4-byte value.

offdata    specifies the offset, in bytes, of the clipboard-data block. the offset is from the beginning of the file. this is a 4-byte value.

name    identifies a 79-character array specifying the format name of a private clipboard format.

the first block of clipboard data follows the last of these structures. for bitmaps and metafiles, the bits follow immediately after the bitmap header and the metafilepict structures.
see also

setclipboarddata, metafilepict



返回




月光软件源码下载编程文档电脑教程网站优化网址导航网络文学游戏天地幽默笑话生活休闲写作范文安妮宝贝
电脑技术编程开发网络专区谈天说地情感世界游戏元素分类游戏热门游戏体育运动手机专区业余爱好影视沙龙
音乐天地数码广场教育园地科学大观古今纵横谈股论金人文艺术医学保健动漫图酷二手专区地方风情各行各业

月光软件站·版权所有