Leaked source code of windows server 2003
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.8 KiB

  1. /*---------------------------------------------------------*\
  2. | |
  3. | TESTING.H |
  4. | |
  5. | Testing's very own include file! |
  6. \*---------------------------------------------------------*/
  7. /* This has all of the defines for the wParam and lParam that go along with
  8. * the WM_TESTING message
  9. */
  10. /* wParam defines - Area
  11. */
  12. #define TEST_PRINTMAN 0x0001
  13. #define TEST_GDI 0x0002
  14. /* lParam defines - Details (in LOWORD)
  15. */
  16. #define TEST_PRINTJOB_START 0x0001 /* when bits start going to the port */
  17. #define TEST_PRINTJOB_END 0x0002 /* when bits stop going to the port */
  18. #define TEST_QUEUE_READY 0x0003 /* when the queue is ready to accept a job */
  19. #define TEST_QUEUE_EMPTY 0x0004 /* when the last job is done being sent */
  20. #define TEST_START_DOC 0x0001 /* print job is started */
  21. #define TEST_END_DOC 0x0002 /* print job is ended */
  22. /* Defines for UserSeeUserDo and GDISeeGDIDo functions
  23. */
  24. LONG API UserSeeUserDo(WORD wMsg, WORD wParam, LONG lParam);
  25. LONG API GDISeeGDIDo(WORD wMsg, WORD wParam, LONG lParam);
  26. /* Defines for the various messages one can pass for the SeeDo functions.
  27. */
  28. #define SD_LOCALALLOC 0x0001 /* Alloc using flags wParam and lParam bytes.
  29. * Returns handle to data.
  30. */
  31. #define SD_LOCALFREE 0x0002 /* Free the memory allocated by handle wParam
  32. */
  33. #define SD_LOCALCOMPACT 0x0003 /* Return the number of free bytes available
  34. */
  35. #define SD_GETUSERMENUHEAP 0x0004 /* Return the handle to the far menu heap
  36. * maintained by user.
  37. */
  38. #define SD_GETCLASSHEADPTR 0x0005 /* Return the near pointer to the head of
  39. * the linked list of CLS structures.
  40. * Interface: wParam = NULL; lParam = NULL;
  41. */