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.
 
 
 
 
 
 

58 lines
1.2 KiB

//-----------------------------------------------------------------------------
//
// File: samplver.h
//
// Copyright (C) 1994-1997 Microsoft Corporation All rights reserved.
//
// Declaration of the implementation of ILocVersion.
//
// Owner: [email protected]
//
//-----------------------------------------------------------------------------
#ifndef SAMPLVER_H
#define SAMPLVER_H
class CLocSamplVersion : public ILocVersion, public CLObject
{
public:
CLocSamplVersion(IUnknown *pParent);
~CLocSamplVersion();
//
// Standard IUnknown methods
//
STDMETHOD_(ULONG, AddRef)();
STDMETHOD_(ULONG, Release)();
STDMETHOD(QueryInterface)(REFIID iid, LPVOID* ppvObj);
//
// Standard Debugging interfaces
//
STDMETHOD_(void, AssertValidInterface)(THIS) CONST_METHOD;
//
// Implementation for ILocVersion
//
STDMETHOD_(void, GetParserVersion)(DWORD &dwMajor,
DWORD &dwMinor, BOOL &fDebug) const;
//
// CLObject implementation
//
#ifdef _DEBUG
void AssertValid(void) const;
void Dump(CDumpContext &) const;
#endif
private:
//
// Implementation for IUnknown and ILocVersion.
ULONG m_ulRefCount;
IUnknown *m_pParent;
};
#endif