mirror of https://github.com/tongzx/nt5src
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
53 lines
972 B
/*++
|
|
|
|
Copyright (c) 1998 Microsoft Corporation
|
|
|
|
Module Name:
|
|
|
|
cpropbag.cpp
|
|
|
|
Abstract:
|
|
|
|
This module contains the definition of the
|
|
generic property bag class
|
|
|
|
Author:
|
|
|
|
Keith Lau ([email protected])
|
|
|
|
Revision History:
|
|
|
|
keithlau 06/30/98 created
|
|
|
|
--*/
|
|
|
|
#define INCL_INETSRV_INCS
|
|
#include "smtpinc.h"
|
|
#include "cpropbag.h"
|
|
|
|
// =================================================================
|
|
// Default instance info
|
|
//
|
|
|
|
PROPERTY_TABLE_INSTANCE CMailMsgPropertyBag::s_DefaultInstanceInfo =
|
|
{
|
|
GENERIC_PTABLE_INSTANCE_SIGNATURE_VALID,
|
|
INVALID_FLAT_ADDRESS,
|
|
GLOBAL_PROPERTY_TABLE_FRAGMENT_SIZE,
|
|
GLOBAL_PROPERTY_ITEM_BITS,
|
|
GLOBAL_PROPERTY_ITEM_SIZE,
|
|
0,
|
|
INVALID_FLAT_ADDRESS
|
|
};
|
|
|
|
DWORD CMailMsgLoggingPropertyBag::LoggingHelper(
|
|
LPVOID pvLogHandle,
|
|
const INETLOG_INFORMATION *pLogInformation
|
|
)
|
|
{
|
|
if (!pvLogHandle) {
|
|
_ASSERT(pvLogHandle);
|
|
return (ERROR_INVALID_PARAMETER);
|
|
}
|
|
return (((LOGGING *) pvLogHandle)->LogInformation(pLogInformation));
|
|
}
|