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.

61 lines
1.8 KiB

  1. #ifndef HIH_DEFINED
  2. #define HIH_DEFINED
  3. #include "lsimeth.h"
  4. /*
  5. * H(orizontal)I(n)H(orizontal)
  6. *
  7. * This object is designed to help client implementations which use
  8. * Tatenakayoko and wish to be able to convert the display from vertical
  9. * to horizontal and then to display the Tatenakayoko text as horizontal.
  10. * To do this the client application simply changes the object handler
  11. * from the Tatenakayoko handler to this object handler and the text
  12. * will be displayed horizontally.
  13. *
  14. */
  15. /* typedef for callback to client for enumeration */
  16. typedef LSERR(WINAPI * PFNHIHENUM)(
  17. POLS pols, /*(IN): client context */
  18. PLSRUN plsrun, /*(IN): from DNODE */
  19. PCLSCHP plschp, /*(IN): from DNODE */
  20. LSCP cp, /*(IN): from DNODE */
  21. LSDCP dcp, /*(IN): from DNODE */
  22. LSTFLOW lstflow, /*(IN): text flow*/
  23. BOOL fReverse, /*(IN): enumerate in reverse order */
  24. BOOL fGeometryNeeded, /*(IN): */
  25. const POINT* pt, /*(IN): starting position (top left), iff fGeometryNeeded */
  26. PCHEIGHTS pcheights, /*(IN): from DNODE, relevant iff fGeometryNeeded */
  27. long dupRun, /*(IN): from DNODE, relevant iff fGeometryNeeded*/
  28. PLSSUBL plssubl); /*(IN): subline in hih object. */
  29. /*
  30. *
  31. * HIH object initialization data that the client application must return
  32. * when the HIH object handler calls the GetObjectHandlerInfo callback.
  33. */
  34. #define HIH_VERSION 0x300
  35. typedef struct HIHINIT
  36. {
  37. DWORD dwVersion; /* Version. Must be HIH_VERSION */
  38. WCHAR wchEndHih; /* Escape for end of HIH object */
  39. WCHAR wchUnused1;
  40. WCHAR wchUnused2;
  41. WCHAR wchUnused3;
  42. PFNHIHENUM pfnEnum; /* Enumeration callback */
  43. } HIHINIT, *PHIHINIT;
  44. LSERR WINAPI LsGetHihLsimethods(
  45. LSIMETHODS *plsim);
  46. /* GetHihLsimethods
  47. *
  48. * plsim (OUT): Hih object methods for Line Services
  49. *
  50. */
  51. #endif /* HIH_DEFINED */