home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c480 / 20.ddi / SAMPLES / REVERSE / REVERSE.H_ / REVERSE.H
Encoding:
C/C++ Source or Header  |  1993-02-08  |  1.1 KB  |  50 lines

  1. /* reverse.h - Header file for REVERSE sample application.
  2.  */
  3.  
  4.  
  5. /*
  6.  *  Constants
  7.  */
  8.  
  9. // Child window identifiers
  10. #define IDE_NAME        200
  11. #define IDB_PLAY        201
  12. #define IDB_QUIT        202
  13.  
  14. // Window Position and size definitions
  15. #define WMAIN_DX        207
  16. #define WMAIN_DY        120
  17. #define NAME_DX         180
  18. #define NAME_DY         30
  19. #define NAME_X          10
  20. #define NAME_Y          10
  21. #define PLAY_DX         85
  22. #define PLAY_DY         35
  23. #define PLAY_X          10
  24. #define PLAY_Y          50
  25. #define QUIT_DX         85
  26. #define QUIT_DY         35
  27. #define QUIT_X          105
  28. #define QUIT_Y          50
  29.  
  30. #define IDM_ABOUT           0x101
  31.  
  32. /*
  33.  * Data Types
  34.  */
  35. typedef struct waveInst {
  36.     HANDLE hWaveInst;
  37.     HANDLE hWaveHdr;
  38.     HANDLE hWaveData;
  39. } WAVEINST;
  40.  
  41. typedef WAVEINST FAR *LPWAVEINST;
  42.  
  43. /*
  44.  *  Function prototypes
  45.  */
  46. BOOL FAR PASCAL __export AppAbout(HWND, unsigned, WORD, LONG);
  47. LONG FAR PASCAL __export WndProc(HWND, UINT ,WPARAM, LPARAM);
  48. void Interchange(HPSTR, HPSTR, WORD);
  49. void ReversePlay(void); 
  50.