Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

50 lines
1.0 KiB

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