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.
 
 
 
 
 
 

48 lines
1.0 KiB

//-----------------------------------------------------------------------------
//
// File: dllvars.h
//
// Global variables and functions for the parser DLL
//
// Copyright (c) 1995 - 1997, Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
#ifndef __DLLVARS_H
#define __DLLVARS_H
void IncrementClassCount(void);
void DecrementClassCount(void);
void ReportException(CException* pExcep, C32File* p32File, CLocItem* pItem, //May be null
CReporter* pReporter);
void ThrowItemSetException();
class CItemSetException : public CException
{
DECLARE_DYNAMIC(CItemSetException)
public:
// Constructors
CItemSetException();
CItemSetException(BOOL bAutoDelete);
// Operations
virtual BOOL GetErrorMessage(LPTSTR lpszError, UINT nMaxError,
PUINT pnHelpContext = NULL);
protected:
CLString m_strMsg;
};
#ifdef __DLLENTRY_CPP
#define __DLLENTRY_EXTERN
#else
#define __DLLENTRY_EXTERN extern
#endif
__DLLENTRY_EXTERN HMODULE g_hDll;
#endif //__DLLVARS_H