home *** CD-ROM | disk | FTP | other *** search
/ Windows Graphics Programming / Feng_Yuan_Win32_GDI_DirectX.iso / Samples / Chapt_04 / Diver / Proxy.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-05-16  |  1.5 KB  |  44 lines

  1. //-----------------------------------------------------------------------------------//
  2. //              Windows Graphics Programming: Win32 GDI and DirectDraw               //
  3. //                             ISBN  0-13-086985-6                                   //
  4. //                                                                                   //
  5. //  Written            by  Yuan, Feng                             www.fengyuan.com   //
  6. //  Copyright (c) 2000 by  Hewlett-Packard Company                www.hp.com         //
  7. //  Published          by  Prentice Hall PTR, Prentice-Hall, Inc. www.phptr.com      //
  8. //                                                                                   //
  9. //  FileName   : proxy.h                                                                //
  10. //  Description: API hooking gluing declarations                                     //
  11. //  Version    : 1.00.000, May 31, 2000                                              //
  12. //-----------------------------------------------------------------------------------//
  13.  
  14. typedef struct
  15. {
  16.     unsigned m_flag;
  17.     unsigned m_edx;
  18.     unsigned m_ecx;
  19.     unsigned m_ebx;
  20.     unsigned m_eax;
  21.     
  22.     unsigned m_funcid;
  23.     unsigned m_rtnads;
  24.     unsigned m_para[32];
  25. } EntryInfo;
  26.  
  27.  
  28. typedef struct
  29. {
  30.     unsigned m_rslt;
  31. } ExitInfo;
  32.  
  33.  
  34. void ProxyInit(void);
  35.  
  36. void ProxyProlog(void);
  37.  
  38. class KStack;
  39. class KFuncTable;
  40.  
  41. extern KStack       * pStack;
  42. extern KFuncTable   * pFuncTable;
  43.  
  44.