ENHMETAHEADER说明

来源:互联网 发布:机动战士高达age知乎 编辑:程序博客网 时间:2024/06/16 13:53
typedef struct tagENHMETAHEADER{    DWORD   iType;              // <span style="color: rgb(0, 128, 0); font-family: 'Courier New', Verdana, Arial; font-size: 14px; line-height: 18.48px; white-space: pre-wrap; background-color: rgb(255, 255, 255);">记录类型</span>    DWORD   nSize;              // <span style="color: rgb(0, 128, 0); font-family: 'Courier New', Verdana, Arial; font-size: 14px; line-height: 18.48px; white-space: pre-wrap; background-color: rgb(255, 255, 255);">结构大小</span>    RECTL   rclBounds;          // <span style="color: rgb(0, 128, 0); font-family: 'Courier New', Verdana, Arial; font-size: 14px; line-height: 18.48px; white-space: pre-wrap; background-color: rgb(255, 255, 255);">外接矩形(单位是像素)</span>    RECTL   rclFrame;           // <span style="color: rgb(0, 128, 0); font-family: 'Courier New', Verdana, Arial; font-size: 14px; line-height: 18.48px; white-space: pre-wrap; background-color: rgb(255, 255, 255);">图片矩形(单位是 0.01 毫米)}</span>    DWORD   dSignature;         // <span style="font-family: 'Courier New', Verdana, Arial; font-size: 14px; line-height: 18.48px; white-space: pre-wrap; color: rgb(0, 128, 0); box-sizing: border-box;">文件签名</span><span style="line-height: 18.48px; white-space: pre-wrap; font-family: Arial, Helvetica, sans-serif;">.</span>    DWORD   nVersion;           // <span style="color: rgb(0, 128, 0); font-family: 'Courier New', Verdana, Arial; font-size: 14px; line-height: 18.48px; white-space: pre-wrap; background-color: rgb(255, 255, 255);">文件版本</span>    DWORD   nBytes;             // <span style="color: rgb(0, 128, 0); font-family: 'Courier New', Verdana, Arial; font-size: 14px; line-height: 18.48px; white-space: pre-wrap; background-color: rgb(255, 255, 255);">文件尺寸</span>    DWORD   nRecords;           // <span style="color: rgb(0, 128, 0); font-family: 'Courier New', Verdana, Arial; font-size: 14px; line-height: 18.48px; white-space: pre-wrap; background-color: rgb(255, 255, 255);">记录数</span>    WORD    nHandles;           // <span style="color: rgb(0, 128, 0); font-family: 'Courier New', Verdana, Arial; font-size: 14px; line-height: 18.48px; white-space: pre-wrap; background-color: rgb(255, 255, 255);">句柄数</span>    WORD    sReserved;          // <span style="color: rgb(0, 128, 0); font-family: 'Courier New', Verdana, Arial; font-size: 14px; line-height: 18.48px; white-space: pre-wrap; background-color: rgb(255, 255, 255);">保留</span>    DWORD   nDescription;       //<span style="color: rgb(0, 128, 0); font-family: 'Courier New', Verdana, Arial; font-size: 14px; line-height: 18.48px; white-space: pre-wrap; background-color: rgb(255, 255, 255);">说明文本的长度</span>    DWORD   offDescription;     // <span style="color: rgb(0, 128, 0); font-family: 'Courier New', Verdana, Arial; font-size: 14px; line-height: 18.48px; white-space: pre-wrap; background-color: rgb(255, 255, 255);">说明文本的偏移量</span>    DWORD   nPalEntries;        //<span style="color: rgb(0, 128, 0); font-family: 'Courier New', Verdana, Arial; font-size: 14px; line-height: 18.48px; white-space: pre-wrap; background-color: rgb(255, 255, 255);">调色板的元素数</span>    SIZEL   szlDevice;          // <span style="color: rgb(0, 128, 0); font-family: 'Courier New', Verdana, Arial; font-size: 14px; line-height: 18.48px; white-space: pre-wrap; background-color: rgb(255, 255, 255);">分辨率(像素)</span>    SIZEL   szlMillimeters;     // <span style="color: rgb(0, 128, 0); font-family: 'Courier New', Verdana, Arial; font-size: 14px; line-height: 18.48px; white-space: pre-wrap; background-color: rgb(255, 255, 255);">分辨率(毫米)</span>#if(WINVER >= 0x0400)    DWORD   cbPixelFormat;      // Size of PIXELFORMATDESCRIPTOR information                                // This is 0 if no pixel format is set    DWORD   offPixelFormat;     // Offset to PIXELFORMATDESCRIPTOR                                // This is 0 if no pixel format is set    DWORD   bOpenGL;            // TRUE if OpenGL commands are present in                                // the metafile, otherwise FALSE#endif /* WINVER >= 0x0400 */#if(WINVER >= 0x0500)    SIZEL   szlMicrometers;     // Size of the reference device in micrometers#endif /* WINVER >= 0x0500 */} ENHMETAHEADER, *PENHMETAHEADER, *LPENHMETAHEADER;HENHMETAFILE hEnhmetafile;
0 0
原创粉丝点击