Leaked source code of windows server 2003
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.
 
 
 
 
 
 

39 lines
1.0 KiB

//+---------------------------------------------------------------------------
//
// Copyright (C) 1994, Microsoft Corporation.
//
// File: idqexcpt.hxx
//
// Contents: Message exception package for IDQ files
//
// History: 96-Jan-98 DwightKr Created
//
//----------------------------------------------------------------------------
#pragma once
//+---------------------------------------------------------------------------
//
// Class: CIDQException
//
// Purpose: Exception class containing message numbers referring to
// keys within query.dll
//
// History: 96-Feb-26 DwightKr Created.
//
//----------------------------------------------------------------------------
class CIDQException : public CException
{
public:
CIDQException( long lError, ULONG ulErrorIndex )
: _ulErrorIndex(ulErrorIndex), CException(lError)
{
}
ULONG GetErrorIndex() const { return _ulErrorIndex; }
private:
ULONG _ulErrorIndex;
};