CImagePalette.MakePalette method
2013-12-05 09:40
344 查看
CImagePalette.MakePalette method
The MakePalettemethod creates a logical palette from the color table in a video format. 从视频格式的颜色表中创建一个逻辑调色板。
Syntax
C++HPALETTE MakePalette( const VIDEOINFOHEADER *pVideoInfo, LPSTR szDevice );
Parameters
pVideoInfoPointer to a VIDEOINFOHEADER structure that contains the color table. 视频信息头指针,
szDevice
Pointer to a string that contains the name of the display device, as returned by the GDI EnumDisplayDevices function. To use the main display device, set this parameter to NULL. 字符串指针。这个字符串是显示设备的名字。
Return value
If successful, returns a handle to the palette. Otherwise, returns NULL. 成功,返回调色板的句柄,否则返回0.
Requirements
Header | Winutil.h (include Streams.h) |
---|---|
Library | Strmbase.lib (retail builds);Strmbasd.lib (debug builds) |
相关文章推荐
- 基于JAVA的简易坦克大战(四)
- SQL之提取一个字符串的数字
- 关于IOS打包ipa
- OpenGL ES 在iOS平台加载3dmax导出的obj模型
- 基于JAVA的简易坦克大战(三)
- fzu 1909 An Equation(水题)
- FreeRTOS学习笔记——任务间使用队列同步数据
- maven Nexus入门指南(图文)
- 单片机编程中的注意点
- 基于JAVA的简易坦克大战(二)
- svnserve:error while loading shared libraries: libaprutil-1.so.0: cannot open shared object file: No such file or directory
- SUN V245前面板异常告警
- iOS并发编程指南
- C#重写DataGirdView
- LDA相关论文汇总
- 各浏览器对document.getElementById等方法的实现差异解析
- Http协议中最基本的四种提交方式的超轻量级简单实现
- 基于JAVA的简易坦克大战(一)
- 【原创】已知三个点坐标求其构成的三角形的内角大小
- sql server 2005 安装后连接不上的问题