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.

64 lines
3.4 KiB

  1. Minutes of the PrintMgr Extensions Test Driver code review
  2. 5/01/91 9:30-11:30a
  3. attending: ANNMC CHUCKC GREGJ JOHNL JONN O-SIMOP
  4. Minutes by JONN
  5. General:
  6. -- Please number lines in printout next time!
  7. -- Test error returns from UserPreference APIs, put in a temporary error
  8. message until RobP specs a permanent one.
  9. -- Add a CODEWORK to remove the RCDATA from the Dialog Editor output.
  10. Contact ByronD on this.
  11. -- Ask RobP if other apps need to be notified of changes in logon
  12. status. One scheme proposed is to broadcast a user-defined message
  13. selected by RegisterWindowsMessage, which any interested app can watch.
  14. -- Be sure to use "::" before all global function calls, including
  15. Windows APIs, NETLIB calls, and local calls.
  16. -- Add test coverage for the case where WNPMPrinterEnum[0] returns no
  17. queues.
  18. -- Print Manager work item: We should look into the case where periodic
  19. refresh generates PM_REFRESH messages faster than they can be
  20. handled. Can the Extensions suppress the new refresh if an old one
  21. is still queued? Can the Print Manager?
  22. -- Note in the CDD and FuncSpec: When the user pauses the printing job,
  23. the _destination_ should be paused rather than the queue.
  24. -- Be sure to BUGBUG all calls to the C-runtime (these are called only
  25. for the Test Driver).
  26. -- Note: Due to a C-RT bug, the first call to rand() after a call to
  27. srand() always returns 0.
  28. -- In the Test Driver section of the CDD, mention the
  29. pause/resume/delete/move flags.
  30. -- Note that the new Dialog Editor will allow copyright headers in .H
  31. files, but not .DLG files.
  32. -- Correct Hungarian for "hPMmainwindow"
  33. -- Encapsulate the variables dependent on initialization to include UIASSERT
  34. ensuring that module is initialized.
  35. -- Encapsulate handling of fConfirmation for codesharing.
  36. -- Use NETLIB string functions rather than lstr string functions.
  37. Specific modules:
  38. -- printman.rc: _ALT_-ENTER should be IDM_PROPERTIES in accelerators.
  39. -- pmancmd.cxx: Report selected item (as IDM_PROPERTIES) for IDM_DELETE,
  40. ID_ABORT, ID_PAUSE, and ID_RESUME as well. In final version, IDM_DELETE
  41. and ID_ABORT can use same case.
  42. -- pmanenum.cxx: Create a class to build an API buffer. Comment on the
  43. meanings of level 0, 1, 2. Hungarian for "pwNullStringOffset" is
  44. "pich". Make sure *cAvail is correct for WN_MORE_DATA. Exercise
  45. more interesting jobsizes. Use new API buffer class to distinguish
  46. between MORE_DATA and OUT_OF_MEMORY. Check error returns from
  47. NLS_STR::LoadString(); they are different for resource and memory problems.
  48. -- pmanfind.cxx: BUGBUG where maximum lengths for edit fields not known.
  49. -- pmanfocs.cxx: No need to explicitly null-terminate after QueryText
  50. (but make sure of this).
  51. -- pmanmenu.cxx: Create a new Hungarian notation for WN_ error codes
  52. (contact BenG), use only for PManExt and other new code. Comment
  53. that ReadUserPrivilege will be called on every WNPMChangeMenus in
  54. final version. Move comment on WNPMExiting to spec, also note the
  55. Exiting() must be able to hide the window. Improve function comment
  56. headers in general. InitGlobals(): Note that GetMenu() et al could
  57. fail in low-memory conditions. Add error popup to RefreshWindowCaption.
  58. Move "&Admin Menus" to resource, move mnemonic to &M. No defined error
  59. message for failure to write preference; note this in whine.txt.
  60. -- pmansel.cxx: Double-check pwCaps values. Rewrite BuildLine() using
  61. NLS_STR::LoadString(usMsgID,apnls) when needed.