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.

49 lines
1.4 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1992 - 1994.
  5. //
  6. // File: WSink.idl
  7. //
  8. // Contents: IWordSink interface definition
  9. //
  10. // History: 10-Nov-93 AmyA Created
  11. // 08-Apr-94 KyleP Sync with spec
  12. //
  13. //--------------------------------------------------------------------------
  14. #include "idlmulti.h"
  15. LOCAL_INTERFACE(CC907054-C058-101A-B554-08002B33B0E6)
  16. interface IWordSink : IUnknown
  17. {
  18. cpp_quote("#ifndef _tagWORDREP_BREAK_TYPE_DEFINED")
  19. typedef enum tagWORDREP_BREAK_TYPE
  20. {
  21. WORDREP_BREAK_EOW = 0,
  22. WORDREP_BREAK_EOS = 1,
  23. WORDREP_BREAK_EOP = 2,
  24. WORDREP_BREAK_EOC = 3
  25. } WORDREP_BREAK_TYPE;
  26. cpp_quote("#define _tagWORDREP_BREAK_TYPE_DEFINED")
  27. cpp_quote("#define _WORDREP_BREAK_TYPE_DEFINED")
  28. cpp_quote("#endif")
  29. HRESULT PutWord( [in] ULONG cwc,
  30. [in, size_is(cwc)] WCHAR const * pwcInBuf,
  31. [in] ULONG cwcSrcLen,
  32. [in] ULONG cwcSrcPos);
  33. HRESULT PutAltWord( [in] ULONG cwc,
  34. [in, size_is(cwc)] WCHAR const * pwcInBuf,
  35. [in] ULONG cwcSrcLen,
  36. [in] ULONG cwcSrcPos );
  37. HRESULT StartAltPhrase( void );
  38. HRESULT EndAltPhrase( void );
  39. HRESULT PutBreak( [in] WORDREP_BREAK_TYPE breakType );
  40. }