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.

37 lines
932 B

  1. //-----------------------------------------------------------------------------
  2. //
  3. // File: interface.h
  4. // Copyright (C) 1994-1997 Microsoft Corporation
  5. // All rights reserved.
  6. //
  7. // Various public interfaces in Espresso.
  8. //
  9. //-----------------------------------------------------------------------------
  10. #pragma once
  11. extern const LTAPIENTRY IID IID_ILocStringValidation;
  12. class CLocTranslation;
  13. DECLARE_INTERFACE_(ILocStringValidation, IUnknown)
  14. {
  15. //
  16. // IUnknown standard Interface
  17. //
  18. STDMETHOD(QueryInterface)(THIS_ REFIID riid, LPVOID FAR*ppvObj) PURE;
  19. STDMETHOD_(ULONG, AddRef)(THIS) PURE;
  20. STDMETHOD_(ULONG, Release)(THIS) PURE;
  21. //
  22. // Standard Debugging interfaces
  23. //
  24. STDMETHOD_(void, AssertValidInterface)(THIS) CONST_METHOD PURE;
  25. STDMETHOD_(CVC::ValidationCode, ValidateString)
  26. (THIS_ const CLocTypeId REFERENCE, const CLocTranslation REFERENCE,
  27. CReporter *, const CContext &) PURE;
  28. };