Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1462058
  • 博文数量: 596
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 173
  • 用 户 组: 普通用户
  • 注册时间: 2016-07-06 15:50
个人简介

在线笔记

文章分类

全部博文(596)

文章存档

2016年(1)

2015年(104)

2014年(228)

2013年(226)

2012年(26)

2011年(11)

分类: Windows平台

2014-04-15 15:23:45

%28v=vs.85%29.aspx

  1. A Microsoft NT-based operating system display driver must implement several graphics DDI functions. Although writing a driver that capitalizes on existing GDI capabilities would be smaller and simpler to write, you should make sure that your driver also implements those operations it can perform more efficiently than GDI.
  2. Microsoft NT系列的操作系统显示驱动必须实现多个图形DDI函数。尽管实现一个基于GDI能力集的驱动是简单的,但是你必须确保你的驱动比GDI更高效)
  3. The display driver graphics DDI functions fall into three groups, each of which is discussed in following topics:

  1. .

  2. .

  3. .


  1. Required Display Driver Functions
  2. 显示驱动必须实现的函数

  3. At a minimum, every display driver must:

  4.     Enable and disable the graphics hardware.

  5.     Supply GDI with information about hardware capabilities.

  6.     Enable the drawing surface.

  7. The following table lists the functions that all display drivers must implement. Following DrvEnableDriver, the remaining functions are listed alphabetically. Note that except for DrvEnableDriver, which GDI calls by name, all other display driver functions do not have fixed names, and are listed with pseudonames.
  8. Function    Description

  9. DrvEnableDriver
  10.     

  11. As the initial driver entry point, provides GDI with the driver version number and entry points of optional functions supported.

  12. DrvAssertMode
  13.     

  14. Resets the video mode for a specified video hardware device.

  15. DrvCompletePDEV
  16.     

  17. Informs the driver about the completion of device installation.

  18. DrvDisableDriver
  19.     

  20. Frees all allocated resources for the driver and returns the device to its initially loaded state.

  21. DrvDisablePDEV
  22.     

  23. When the hardware is no longer needed, frees memory and resources used by the device and any surface created, but not yet deleted.

  24. DrvDisableSurface
  25.     

  26. Informs the driver that the surface created for the current device is no longer needed.

  27. DrvEnablePDEV
  28.     

  29. Enables a PDEV.

  30. DrvEnableSurface
  31.     

  32. Creates a surface for a specified hardware device.

  33. DrvGetModes
  34.     

  35. Lists the modes supported by a specified video hardware device.

  36.  

  37. A list of required functions for all graphics drivers appears in Required Graphics Driver Functions.


阅读(442) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~