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.
131 lines
2.8 KiB
131 lines
2.8 KiB
//-----------------------------------------------------------------------------
|
|
//
|
|
// File: _errorrep.inl
|
|
// Copyright (C) 1994-1997 Microsoft Corporation
|
|
// All rights reserved.
|
|
//
|
|
//
|
|
//
|
|
//-----------------------------------------------------------------------------
|
|
|
|
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
|
//
|
|
// TODO - comment this function
|
|
//
|
|
//-----------------------------------------------------------------------------
|
|
inline
|
|
void
|
|
IssueMessage(
|
|
MessageSeverity sev,
|
|
const CLString &strContext,
|
|
HINSTANCE hResourceDll,
|
|
UINT uiStringId,
|
|
const CLocation &loc,
|
|
UINT uiHelpContext)
|
|
{
|
|
CLString strMessage;
|
|
|
|
strMessage.LoadString(hResourceDll, uiStringId);
|
|
IssueMessage(sev, strContext, strMessage, loc, uiHelpContext);
|
|
}
|
|
|
|
|
|
|
|
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
|
//
|
|
// TODO - comment this function
|
|
//
|
|
//-----------------------------------------------------------------------------
|
|
inline
|
|
void
|
|
IssueMessage(
|
|
MessageSeverity sev,
|
|
HINSTANCE hResourceDll,
|
|
UINT uiContext,
|
|
const CLString &strMessage,
|
|
const CLocation &loc,
|
|
UINT uiHelpContext)
|
|
{
|
|
CLString strContext;
|
|
|
|
strContext.LoadString(hResourceDll, uiContext);
|
|
|
|
IssueMessage(sev, strContext, strMessage, loc, uiHelpContext);
|
|
}
|
|
|
|
|
|
|
|
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
|
//
|
|
// TODO - comment this function
|
|
//
|
|
//-----------------------------------------------------------------------------
|
|
inline
|
|
void
|
|
IssueMessage(
|
|
MessageSeverity sev,
|
|
HINSTANCE hResourceDll,
|
|
UINT uiContext,
|
|
UINT uiStringId,
|
|
const CLocation &loc,
|
|
UINT uiHelpContext)
|
|
{
|
|
CLString strContext;
|
|
|
|
strContext.LoadString(hResourceDll, uiContext);
|
|
IssueMessage(sev, strContext, hResourceDll, uiStringId, loc,uiHelpContext);
|
|
}
|
|
|
|
|
|
|
|
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
|
//
|
|
// TODO - comment this function
|
|
//
|
|
//-----------------------------------------------------------------------------
|
|
inline
|
|
void
|
|
IssueMessage(
|
|
MessageSeverity sev,
|
|
HINSTANCE hResourceDll,
|
|
UINT uiContext,
|
|
const CLocation &loc,
|
|
CException *pe)
|
|
{
|
|
CLString strContext;
|
|
|
|
strContext.LoadString(hResourceDll, uiContext);
|
|
IssueMessage(sev, strContext, loc, pe);
|
|
}
|
|
|
|
|
|
|
|
|
|
inline
|
|
void
|
|
IssueMessage(
|
|
MessageSeverity sev,
|
|
const CContext &context,
|
|
const CLString &strMessage,
|
|
UINT uiHelpId)
|
|
{
|
|
IssueMessage(sev, context.GetContext(), strMessage, context.GetLocation(),
|
|
uiHelpId);
|
|
|
|
}
|
|
|
|
|
|
|
|
inline
|
|
void
|
|
IssueMessage(
|
|
MessageSeverity sev,
|
|
const CContext &context,
|
|
HINSTANCE hResDll,
|
|
UINT uiStringId,
|
|
UINT uiHelpId)
|
|
{
|
|
IssueMessage(sev, context.GetContext(), hResDll, uiStringId,
|
|
context.GetLocation(), uiHelpId);
|
|
|
|
}
|