QIANYIN
驱动牛犊
驱动牛犊
  • 注册日期2008-08-15
  • 最后登录2015-02-14
  • 粉丝0
  • 关注0
  • 积分2分
  • 威望2点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
阅读:2044回复:0

请问如何构建MOUSE_INPUT_DATA数据[通过不断试验,已解决]

楼主#
更多 发布于:2008-09-27 16:08
typedef struct MOUSE_INPUT_DATA {
                    USHORT  UnitId;  
                    USHORT  Flags;  
                    union {    
                          ULONG  Buttons;      
                                  struct {        
                                              USHORT  ButtonFlags;        
                                              USHORT  ButtonData;    
                                              };  
                                  };  
                     ULONG  RawButtons;  
                     LONG  LastX;
                     LONG  LastY;  
                     ULONG  ExtraInformation;
} MOUSE_INPUT_DATA, *PMOUSE_INPUT_DATA;

请问题如何构建的,我在
         union {    
                          ULONG  Buttons;      
                                  struct {        
                                              USHORT  ButtonFlags;        
                                              USHORT  ButtonData;    
                                              };  
                                  };  
这里不知如何处理,请指点一下,谢谢
驱网无线,快乐无限
游客

返回顶部