GPEModeEx FUNCTION

#define GPEMODEEX_VERSION0(0)
#define GPEMODEEX_CURRENTVERSION(GPEMODEEX_VERSION0)
  struct GPEModeEx {
  GPEMode modeInfo; 
  DDGPEStandardHeader; 
  EDDGPEPixelFormat ePixelFormat; 
  DWORD dwPixelFourCC; 
  DWORD dwPixelFormatData; 
  LONG lPitch; 
  DWORD dwFlags; 
  DWORD dwRBitMask; 
  DWORD dwGBitMask; 
  DWORD dwBBitMask; 
  DWORD dwAlphaBitMask 
};
Members
modeInfo
Contains the  GPEMode for the current device. You can use this field instead of having a separate  GPEMode member variable in your device driver.
DDGPEStandardHeader
See  DDGPEStandardHeader for more information.
ePixelFormat
Identifies the surface's  EDDGPEPixelFormat. See  EDDGPEPixelFormat for more information.
dwPixelFourCC
The value of  dwPixelFourCC can be used to indicate the  FourCC code for the current surface. This value should be zero (0), if the  FourCC information does not apply.
dwPixelFormatData
Drivers can use the  dwPixelFormatData element, if it is necessary to store more detailed information about a particular mode or its surface type. The value of this field is ignored by  DDGPE.
lPitch
Identifies the pitch of the specified mode.
dwFlags
Flags for the current surface. This field should be set to zero (0).
dwRBitMask
Indicates the red bit mask for surfaces in the current mode.
dwGBitMask
Indicates the green bit mask for surfaces in the current mode.
dwBBitMask
Indicates the blue bit mask for surfaces in the current mode.
dwAlphaBitMask
Indicates the alpha bit mask for surfaces in the current mode.
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值