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.

65 lines
1.8 KiB

  1. #ifndef ROBJ_DEFINED
  2. #define ROBJ_DEFINED
  3. #include "lsimeth.h"
  4. #define REVERSE_VERSION 0x300
  5. /* Prototype for Reverse Object enumeration callback */
  6. typedef LSERR (WINAPI * PFNREVERSEENUM)(
  7. POLS pols, /*(IN): client context */
  8. PLSRUN plsrun, /*(IN): from DNODE */
  9. PCLSCHP plschp, /*(IN): from DNODE */
  10. LSCP cp, /*(IN): from DNODE */
  11. LSDCP dcp, /*(IN): from DNODE */
  12. LSTFLOW lstflow, /*(IN): text flow */
  13. BOOL fReverse, /*(IN): enumerate in reverse order */
  14. BOOL fGeometryNeeded, /*(IN): */
  15. const POINT* pt, /*(IN): starting position (top left), iff fGeometryNeeded */
  16. PCHEIGHTS pcheights, /*(IN): from DNODE, relevant iff fGeometryNeeded */
  17. long dupRun, /*(IN): from DNODE, relevant iff fGeometryNeeded */
  18. LSTFLOW lstflowSubline, /*(IN): lstflow of subline in reverse object */
  19. PLSSUBL plssubl); /*(IN): subline in reverse object. */
  20. /*
  21. *
  22. * Reverse Object initialization data that the client application must return
  23. * when the Reverse Object handler calls the GetObjectHandlerInfo callback.
  24. *
  25. */
  26. /* Prototype for Reverse Object get info */
  27. typedef LSERR (WINAPI * PFNREVERSEGETINFO)
  28. (
  29. POLS pols,
  30. LSCP cp,
  31. PLSRUN plsrun,
  32. BOOL * pfDoNotBreakAround,
  33. BOOL * pfSuppressTrailingSpaces
  34. );
  35. typedef struct REVERSEINIT
  36. {
  37. DWORD dwVersion; /* Version. Must be REVERSE_VERSION */
  38. WCHAR wchEndReverse; /* Escape char for end of Reverse Object */
  39. WCHAR wchUnused1; /* Unused for alignment */
  40. PFNREVERSEGETINFO pfnGetRobjInfo; /* Callback GetInfo */
  41. PFNREVERSEENUM pfnEnum; /* Enumeration callback */
  42. } REVERSEINIT;
  43. LSERR WINAPI LsGetReverseLsimethods(
  44. LSIMETHODS *plsim);
  45. /* GetReverseLsimethods
  46. *
  47. * plsim (OUT): Reverse Object Handler methods for Line Services.
  48. *
  49. */
  50. #endif /* ROBJ_DEFINED */