home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgLangD.iso / C++-7 / DISK4 / SAMPLES / PWBEXTEN / BASE.C$ / BASE
Encoding:
Text File  |  1992-01-15  |  1.1 KB  |  71 lines

  1. /* (FILE).C - (Summary)
  2.  *
  3.  * (Purpose)
  4.  *
  5.  * Switches:
  6.  *
  7.  * Functions:
  8.  *
  9.  *
  10.  */
  11.  
  12. #pragma warning( disable:4001 )  //Allow single-line comments
  13. #pragma warning( disable:4100 )  //Allow unused arguments
  14.  
  15. #include "ext.h"
  16.  
  17. void _cdecl EXTERNAL WhenLoaded( void );
  18.  
  19. PWBFUNC Func( unsigned argData, ARG far *pArg, flagType fMeta );
  20.  
  21. // Func - (Summary)
  22. //
  23. // Purpose:
  24. //
  25. // Input:
  26. //
  27. // Output:
  28. //
  29. //
  30. PWBFUNC Func( unsigned argData, ARG far *pArg, flagType fMeta )
  31. {
  32.     return TRUE;
  33. }
  34.  
  35. //-----------------< Standard Extension Information >----------------//
  36.  
  37. // WhenLoaded
  38. //
  39. //
  40. //
  41. //
  42. void _cdecl EXTERNAL WhenLoaded( void )
  43. {
  44.     //DoStatusBox( "Banner", NULL );
  45.  
  46.     //Initialize extension
  47.  
  48.     //DoStatusBox( NULL, NULL );   //Close status box
  49. }
  50.  
  51. //
  52. // Command description table.
  53. //
  54. //
  55. struct cmdDesc cmdTable[] =
  56. {
  57.     { "Func", Func, 0, NOARG },
  58.  
  59.     { NULL,   NULL, 0, 0     }   //end-of-table
  60. };
  61.  
  62. //
  63. // Switch description table.
  64. //
  65. //
  66. struct swiDesc swiTable[] =
  67. {
  68.  
  69.     { NULL, NULL, 0 }   //end-of-table
  70. };
  71.