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.

45 lines
881 B

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