home *** CD-ROM | disk | FTP | other *** search
/ HAM Radio 1997 / HAM Radio 1997.iso / vcls / wfc007.000 / include / structs.hpp < prev    next >
Encoding:
C/C++ Source or Header  |  1996-04-08  |  7.9 KB  |  408 lines

  1. #if ! defined( STRUCTS_LASS_HEADER )
  2.  
  3. /*
  4. ** Author: Samuel R. Blackburn
  5. ** CI$: 76300,326
  6. ** Internet: sammy@sed.csc.com
  7. **
  8. ** You can use it any way you like.
  9. */
  10.  
  11. #define STRUCTS_CLASS_HEADER
  12.  
  13. class CAccessAllowedEntry : public _ACCESS_ALLOWED_ACE
  14. {
  15.    public:
  16.  
  17.       CAccessAllowedEntry();
  18.       virtual ~CAccessAllowedEntry();
  19.       virtual void Empty( void );
  20. };
  21.  
  22. class CAccessControlEntryHeader : public _ACE_HEADER
  23. {
  24.    public:
  25.  
  26.       CAccessControlEntryHeader();
  27.       virtual ~CAccessControlEntryHeader();
  28.       virtual void Empty( void );
  29. };
  30.  
  31. class CAccessControlList : public _ACL
  32. {
  33.    public:
  34.  
  35.       CAccessControlList();
  36.       virtual ~CAccessControlList();
  37.       virtual void Empty( void );
  38. };
  39.  
  40. class CAccessDeniedEntry : public _ACCESS_DENIED_ACE
  41. {
  42.    public:
  43.  
  44.       CAccessDeniedEntry();
  45.       virtual ~CAccessDeniedEntry();
  46.       virtual void Empty( void );
  47. };
  48.  
  49. class CBitmapCoreHeader : public tagBITMAPCOREHEADER
  50. {
  51.    public:
  52.  
  53.       CBitmapCoreHeader();
  54.       virtual ~CBitmapCoreHeader();
  55.       virtual void Empty( void );
  56. };
  57.  
  58. class CBitmapFileHeader : public tagBITMAPFILEHEADER
  59. {
  60.    public:
  61.  
  62.       CBitmapFileHeader();
  63.       virtual ~CBitmapFileHeader();
  64.       virtual void Empty( void );
  65. };
  66.  
  67. class CBitmapInfoHeader : public tagBITMAPINFOHEADER
  68. {
  69.    public:
  70.  
  71.       CBitmapInfoHeader();
  72.       virtual ~CBitmapInfoHeader();
  73.       virtual void Empty( void );
  74. };
  75.  
  76. class CColorAdjustment : public tagCOLORADJUSTMENT
  77. {
  78.    public:
  79.  
  80.       CColorAdjustment();
  81.       virtual ~CColorAdjustment();
  82.       virtual void Empty( void );
  83. };
  84.  
  85. class COutlineTextMetricA : public _OUTLINETEXTMETRICA
  86. {
  87.    public:
  88.  
  89.       COutlineTextMetricA();
  90.       virtual ~COutlineTextMetricA();
  91.       virtual void Empty( void );
  92. };
  93.  
  94. class COutlineTextMetricW : public _OUTLINETEXTMETRICW
  95. {
  96.    public:
  97.  
  98.       COutlineTextMetricW();
  99.       virtual ~COutlineTextMetricW();
  100.       virtual void Empty( void );
  101. };
  102.  
  103. #if defined( UNICODE )
  104. #define COutlineTextMetric COutlineTextMetricW
  105. #else
  106. #define COutlineTextMetric COutlineTextMetricA
  107. #endif // UNICODE
  108.  
  109. class CPixelFormatDescriptor : public tagPIXELFORMATDESCRIPTOR
  110. {
  111.    public:
  112.  
  113.       CPixelFormatDescriptor();
  114.       virtual ~CPixelFormatDescriptor();
  115.       virtual void Empty( void );
  116. };
  117.  
  118. class CRasterizerStatus : public _RASTERIZER_STATUS
  119. {
  120.    public:
  121.  
  122.       CRasterizerStatus();
  123.       virtual ~CRasterizerStatus();
  124.       virtual void Empty( void );
  125. };
  126.  
  127. class CTextMetricA : public tagTEXTMETRICA
  128. {
  129.    public:
  130.  
  131.       CTextMetricA();
  132.       virtual ~CTextMetricA();
  133.       virtual void Empty( void );
  134. };
  135.  
  136. class CTextMetricW : public tagTEXTMETRICW
  137. {
  138.    public:
  139.  
  140.       CTextMetricW();
  141.       virtual ~CTextMetricW();
  142.       virtual void Empty( void );
  143. };
  144.  
  145. #if defined( UNICODE )
  146. #define CTextMetric CTextMetricW
  147. #else
  148. #define CTextMetric CTextMetricA
  149. #endif // UNICODE
  150.  
  151. class COFStruct : public _OFSTRUCT
  152. {
  153.    public:
  154.  
  155.       COFStruct();
  156.      ~COFStruct();
  157.       virtual void Empty( void );
  158. };
  159.  
  160. class CMemoryStatus : public _MEMORYSTATUS
  161. {
  162.    public:
  163.  
  164.       CMemoryStatus();
  165.       virtual ~CMemoryStatus();
  166.       virtual void Empty( void );
  167. };
  168.  
  169. class CSecurityQualityOfService : public _SECURITY_QUALITY_OF_SERVICE
  170. {
  171.    public:
  172.  
  173.       CSecurityQualityOfService();
  174.       virtual ~CSecurityQualityOfService();
  175.       virtual void Empty( void );
  176. };
  177.  
  178. class CPerfCounterDefinition : public _PERF_COUNTER_DEFINITION
  179. {
  180.    public:
  181.  
  182.       CPerfCounterDefinition();
  183.       virtual ~CPerfCounterDefinition();
  184.       virtual void Empty( void );
  185. };
  186.  
  187. class CPerfInstanceDefinition : public _PERF_INSTANCE_DEFINITION
  188. {
  189.    public:
  190.  
  191.       CPerfInstanceDefinition();
  192.       virtual ~CPerfInstanceDefinition();
  193.       virtual void Empty( void );
  194. };
  195.  
  196. class CWindowPlacement : public tagWINDOWPLACEMENT
  197. {
  198.    public:
  199.  
  200.       CWindowPlacement();
  201.       virtual ~CWindowPlacement();
  202.       virtual void Empty( void );
  203. };
  204.  
  205. class CSecurityAttributes : public _SECURITY_ATTRIBUTES
  206. {
  207.    public:
  208.  
  209.       CSecurityAttributes();
  210.       virtual ~CSecurityAttributes();
  211.       virtual void Empty( void );
  212. };
  213.  
  214. class CSystemAuditEntry : public _SYSTEM_AUDIT_ACE
  215. {
  216.    public:
  217.  
  218.       CSystemAuditEntry();
  219.       virtual ~CSystemAuditEntry();
  220.       virtual void Empty( void );
  221. };
  222.  
  223. #if defined( _WINUSER_ )
  224.  
  225. class CFilterKeys : public tagFILTERKEYS
  226. {
  227.    public:
  228.  
  229.       CFilterKeys()
  230.       {
  231.          ::ZeroMemory( (tagFILTERKEYS *) this, sizeof( tagFILTERKEYS ) );
  232.          cbSize = sizeof( tagFILTERKEYS );
  233.       }
  234.  
  235.      ~CFilterKeys()
  236.       {
  237.          ::ZeroMemory( (tagFILTERKEYS *) this, sizeof( tagFILTERKEYS ) );
  238.       }
  239. };
  240.  
  241. class CStickyKeys : public tagSTICKYKEYS
  242. {
  243.    public:
  244.  
  245.       CStickyKeys()
  246.       {
  247.          ::ZeroMemory( (tagSTICKYKEYS *) this, sizeof( tagSTICKYKEYS ) );
  248.          cbSize = sizeof( tagSTICKYKEYS );
  249.       }
  250.  
  251.      ~CStickyKeys()
  252.       {
  253.          ::ZeroMemory( (tagSTICKYKEYS *) this, sizeof( tagSTICKYKEYS ) );
  254.       }
  255. };
  256.  
  257. class CMouseKeys : public tagMOUSEKEYS
  258. {
  259.    public:
  260.  
  261.       CMouseKeys()
  262.       {
  263.          ::ZeroMemory( (tagMOUSEKEYS *) this, sizeof( tagMOUSEKEYS ) );
  264.          cbSize = sizeof( tagMOUSEKEYS );
  265.       }
  266.  
  267.      ~CMouseKeys()
  268.       {
  269.          ::ZeroMemory( (tagMOUSEKEYS *) this, sizeof( tagMOUSEKEYS ) );
  270.       }
  271. };
  272.  
  273. class CToggleKeys : public tagTOGGLEKEYS
  274. {
  275.    public:
  276.  
  277.       CToggleKeys()
  278.       {
  279.          ::ZeroMemory( (tagTOGGLEKEYS *) this, sizeof( tagTOGGLEKEYS ) );
  280.          cbSize = sizeof( tagTOGGLEKEYS );
  281.       }
  282.  
  283.      ~CToggleKeys()
  284.       {
  285.          ::ZeroMemory( (tagTOGGLEKEYS *) this, sizeof( tagTOGGLEKEYS ) );
  286.       }
  287. };
  288.  
  289. class CAccessTimeout : public tagACCESSTIMEOUT
  290. {
  291.    public:
  292.  
  293.       CAccessTimeout()
  294.       {
  295.          ::ZeroMemory( (tagACCESSTIMEOUT *) this, sizeof( tagACCESSTIMEOUT ) );
  296.          cbSize = sizeof( tagACCESSTIMEOUT );
  297.       }
  298.  
  299.      ~CAccessTimeout()
  300.       {
  301.          ::ZeroMemory( (tagACCESSTIMEOUT *) this, sizeof( tagACCESSTIMEOUT ) );
  302.       }
  303. };
  304.  
  305. class CSoundSentryA : public tagSOUNDSENTRYA
  306. {
  307.    public:
  308.  
  309.       CSoundSentryA()
  310.       {
  311.          ::ZeroMemory( (tagSOUNDSENTRYA *) this, sizeof( tagSOUNDSENTRYA ) );
  312.          cbSize = sizeof( tagSOUNDSENTRYA );
  313.       }
  314.  
  315.      ~CSoundSentryA()
  316.       {
  317.          ::ZeroMemory( (tagSOUNDSENTRYA *) this, sizeof( tagSOUNDSENTRYA ) );
  318.       }
  319. };
  320.  
  321. class CSoundSentryW : public tagSOUNDSENTRYW
  322. {
  323.    public:
  324.  
  325.       CSoundSentryW()
  326.       {
  327.          ::ZeroMemory( (tagSOUNDSENTRYW *) this, sizeof( tagSOUNDSENTRYW ) );
  328.          cbSize = sizeof( tagSOUNDSENTRYW );
  329.       }
  330.  
  331.      ~CSoundSentryW()
  332.       {
  333.          ::ZeroMemory( (tagSOUNDSENTRYW *) this, sizeof( tagSOUNDSENTRYW ) );
  334.       }
  335. };
  336.  
  337. #if defined( UNICODE )
  338. #define CSoundSentry CSoundSentryW
  339. #else
  340. #define CSoundSentry CSoundSentryA
  341. #endif // UNICODE
  342.  
  343. #endif // _WINUSER_
  344.  
  345. #if defined( _INC_VFW )
  346.  
  347. class CCompVars : public COMPVARS
  348. {
  349.    public:
  350.  
  351.       CCompVars()
  352.       {
  353.          ::ZeroMemory( (COMPVARS *) this, sizeof( COMPVARS ) );
  354.          cbSize = sizeof( COMPVARS );
  355.       }
  356.  
  357.      ~CCompVars()
  358.       {
  359.          ::ZeroMemory( (COMPVARS *) this, sizeof( COMPVARS ) );
  360.       }
  361. };
  362.  
  363. #endif // _INC_VFW
  364.  
  365. #if defined( _WINGDI_ )
  366.  
  367. class CDocInfoA : public _DOCINFOA
  368. {
  369.    public:
  370.  
  371.       CDocInfoA()
  372.       {
  373.          ::ZeroMemory( (LPDOCINFOA) this, sizeof( DOCINFOA ) );
  374.          cbSize = sizeof( DOCINFOA );
  375.       }
  376.  
  377.      ~CDocInfoA()
  378.       {
  379.          ::ZeroMemory( (LPDOCINFOA) this, sizeof( DOCINFOA ) );
  380.       }
  381. };
  382.  
  383. class CDocInfoW : public _DOCINFOW
  384. {
  385.    public:
  386.  
  387.       CDocInfoW()
  388.       {
  389.          ::ZeroMemory( (LPDOCINFOW) this, sizeof( DOCINFOW ) );
  390.          cbSize = sizeof( DOCINFOW );
  391.       }
  392.  
  393.      ~CDocInfoW()
  394.       {
  395.          ::ZeroMemory( (LPDOCINFOW) this, sizeof( DOCINFOW ) );
  396.       }
  397. };
  398.  
  399. #if defined( UNICODE )
  400. #define CDocInfo CDocInfoW
  401. #else
  402. #define CDocInfo CDocInfoA
  403. #endif // UNICODE
  404.  
  405. #endif // _WINGDI_
  406.  
  407. #endif // STRUCTS_CLASS_HEADER
  408.