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.

56 lines
1.2 KiB

  1. /*++
  2. Copyright (C) 1996-1999 Microsoft Corporation
  3. Module Name:
  4. LOCFILE.H
  5. History:
  6. --*/
  7. #ifndef PBASE_LOCFILE_H
  8. #define PBASE_LOCFILE_H
  9. class CLocItemHandler;
  10. extern const IID IID_ILocFile;
  11. DECLARE_INTERFACE_(ILocFile, IUnknown)
  12. {
  13. //
  14. // IUnknown standard Interface
  15. //
  16. STDMETHOD(QueryInterface)(THIS_ REFIID riid, LPVOID FAR*ppvObj) PURE;
  17. STDMETHOD_(ULONG, AddRef)(THIS) PURE;
  18. STDMETHOD_(ULONG, Release)(THIS) PURE;
  19. //
  20. // Standard Debugging interfaces
  21. //
  22. STDMETHOD_(void, AssertValidInterface)(THIS) CONST_METHOD PURE;
  23. //
  24. // ILocFile methods.
  25. //
  26. STDMETHOD_(BOOL, OpenFile)(THIS_ const CFileSpec REFERENCE,
  27. CReporter REFERENCE) PURE;
  28. STDMETHOD_(FileType, GetFileType)(THIS) const PURE;
  29. STDMETHOD_(void, GetFileTypeDescription)(THIS_ CLString REFERENCE)
  30. const PURE;
  31. STDMETHOD_(BOOL, GetAssociatedFiles)(THIS_ CStringList REFERENCE)
  32. const PURE;
  33. STDMETHOD_(BOOL, EnumerateFile)(THIS_ CLocItemHandler REFERENCE,
  34. const CLocLangId &, const DBID REFERENCE) PURE;
  35. STDMETHOD_(BOOL, GenerateFile)(THIS_ const CPascalString REFERENCE,
  36. CLocItemHandler REFERENCE, const CLocLangId REFERENCE,
  37. const CLocLangId REFERENCE, const DBID REFERENCE) PURE;
  38. };
  39. #endif // PBASE_LOCFILE_H