windows-nt/Source/XPSP1/NT/base/wmi/bmoflocparser/inc/esputil/interface.h
2020-09-26 16:20:57 +08:00

38 lines
932 B
C++

//-----------------------------------------------------------------------------
//
// File: interface.h
// Copyright (C) 1994-1997 Microsoft Corporation
// All rights reserved.
//
// Various public interfaces in Espresso.
//
//-----------------------------------------------------------------------------
#pragma once
extern const LTAPIENTRY IID IID_ILocStringValidation;
class CLocTranslation;
DECLARE_INTERFACE_(ILocStringValidation, IUnknown)
{
//
// IUnknown standard Interface
//
STDMETHOD(QueryInterface)(THIS_ REFIID riid, LPVOID FAR*ppvObj) PURE;
STDMETHOD_(ULONG, AddRef)(THIS) PURE;
STDMETHOD_(ULONG, Release)(THIS) PURE;
//
// Standard Debugging interfaces
//
STDMETHOD_(void, AssertValidInterface)(THIS) CONST_METHOD PURE;
STDMETHOD_(CVC::ValidationCode, ValidateString)
(THIS_ const CLocTypeId REFERENCE, const CLocTranslation REFERENCE,
CReporter *, const CContext &) PURE;
};