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.

38 lines
926 B

  1. //-----------------------------------------------------------------------------
  2. //
  3. // File: pstrval.h
  4. // Copyright (C) 1994-1997 Microsoft Corporation
  5. // All rights reserved.
  6. //
  7. // String Validation interface.
  8. //
  9. // Owner: MHotchin
  10. //
  11. //-----------------------------------------------------------------------------
  12. #ifndef PBASE_PSTRVAL_H
  13. #define PBASE_PSTRVAL_H
  14. extern const IID IID_ILocStringValidation;
  15. DECLARE_INTERFACE_(ILocStringValidation, IUnknown)
  16. {
  17. //
  18. // IUnknown standard Interface
  19. //
  20. STDMETHOD(QueryInterface)(THIS_ REFIID riid, LPVOID FAR*ppvObj) PURE;
  21. STDMETHOD_(ULONG, AddRef)(THIS) PURE;
  22. STDMETHOD_(ULONG, Release)(THIS) PURE;
  23. //
  24. // Standard Debugging interfaces
  25. //
  26. STDMETHOD_(void, AssertValidInterface)(THIS) CONST_METHOD PURE;
  27. STDMETHOD_(CVC::ValidationCode, ValidateString)
  28. (THIS_ const CLocTypeId REFERENCE, const CLocString REFERENCE,
  29. CReporter *) PURE;
  30. };
  31. #endif