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.

65 lines
1.2 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1992 - 1993.
  5. //
  6. // File: app.cpp
  7. //
  8. // Contents: implementation of OleTestApp class methods
  9. //
  10. // Classes:
  11. //
  12. // Functions:
  13. //
  14. // History: dd-mmm-yy Author Comment
  15. // 06-Feb-94 alexgo author
  16. //
  17. //--------------------------------------------------------------------------
  18. #include "oletest.h"
  19. //+-------------------------------------------------------------------------
  20. //
  21. // Member: OleTestApp::Reset
  22. //
  23. // Synopsis: clears internal variables in the OleTestApp instance
  24. //
  25. // Effects:
  26. //
  27. // Arguments: void
  28. //
  29. // Requires:
  30. //
  31. // Returns: void
  32. //
  33. // Signals:
  34. //
  35. // Modifies:
  36. //
  37. // Derivation:
  38. //
  39. // Algorithm:
  40. //
  41. // History: dd-mmm-yy Author Comment
  42. // 06-Feb-94 alexgo author
  43. //
  44. // Notes:
  45. //
  46. //--------------------------------------------------------------------------
  47. void OleTestApp::Reset(void)
  48. {
  49. int i;
  50. m_message = NULL;
  51. m_wparam = NULL;
  52. m_lparam = NULL;
  53. for( i = 0; i < (sizeof(m_rgTesthwnd)/sizeof(m_rgTesthwnd[0])); i++ )
  54. {
  55. m_rgTesthwnd[i] = NULL;
  56. }
  57. m_Temp = NULL;
  58. }
  59.