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.

53 lines
972 B

  1. /*++
  2. Copyright (c) 1998 Microsoft Corporation
  3. Module Name:
  4. cpropbag.cpp
  5. Abstract:
  6. This module contains the definition of the
  7. generic property bag class
  8. Author:
  9. Keith Lau (keithlau@microsoft.com)
  10. Revision History:
  11. keithlau 06/30/98 created
  12. --*/
  13. #define INCL_INETSRV_INCS
  14. #include "smtpinc.h"
  15. #include "cpropbag.h"
  16. // =================================================================
  17. // Default instance info
  18. //
  19. PROPERTY_TABLE_INSTANCE CMailMsgPropertyBag::s_DefaultInstanceInfo =
  20. {
  21. GENERIC_PTABLE_INSTANCE_SIGNATURE_VALID,
  22. INVALID_FLAT_ADDRESS,
  23. GLOBAL_PROPERTY_TABLE_FRAGMENT_SIZE,
  24. GLOBAL_PROPERTY_ITEM_BITS,
  25. GLOBAL_PROPERTY_ITEM_SIZE,
  26. 0,
  27. INVALID_FLAT_ADDRESS
  28. };
  29. DWORD CMailMsgLoggingPropertyBag::LoggingHelper(
  30. LPVOID pvLogHandle,
  31. const INETLOG_INFORMATION *pLogInformation
  32. )
  33. {
  34. if (!pvLogHandle) {
  35. _ASSERT(pvLogHandle);
  36. return (ERROR_INVALID_PARAMETER);
  37. }
  38. return (((LOGGING *) pvLogHandle)->LogInformation(pLogInformation));
  39. }