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.

41 lines
1.0 KiB

  1. //-----------------------------------------------------------------------------
  2. //
  3. // File: Binary.H
  4. // Copyright (C) 1994-1997 Microsoft Corporation
  5. // All rights reserved.
  6. //
  7. //
  8. // Class to hold 'binary' (non-string) information about a localizable item.
  9. //
  10. //-----------------------------------------------------------------------------
  11. #ifndef BINARY_H
  12. #define BINARY_H
  13. //
  14. // Binary interface. Parsers provide an implementation of this in order
  15. // to create binary objects for other users.
  16. //
  17. extern const IID IID_ILocBinary;
  18. DECLARE_INTERFACE_(ILocBinary, IUnknown)
  19. {
  20. //
  21. // IUnknown standard interface.
  22. //
  23. STDMETHOD(QueryInterface)(THIS_ REFIID riid, LPVOID FAR*ppvObj) PURE;
  24. STDMETHOD_(ULONG, AddRef)(THIS) PURE;
  25. STDMETHOD_(ULONG, Release)(THIS) PURE;
  26. //
  27. // Standard Debugging interface.
  28. //
  29. STDMETHOD_(void, AssertValidInterface)(THIS) CONST_METHOD PURE;
  30. STDMETHOD_(BOOL, CreateBinaryObject)(THIS_ BinaryId, CLocBinary *REFERENCE) PURE;
  31. };
  32. #endif // BINARY_H