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.

23 lines
567 B

  1. #include "lsensubl.h"
  2. #include "lsc.h"
  3. #include "lssubl.h"
  4. #include "enumcore.h"
  5. // %%Function: LsEnumSubline
  6. // %%Contact: victork
  7. //
  8. /*
  9. * Enumerates subline (from the given point is fGeometry needed).
  10. */
  11. LSERR WINAPI LsEnumSubline(PLSSUBL plssubl, BOOL fReverseOrder, BOOL fGeometryNeeded, const POINT* pptorg)
  12. {
  13. if (!FIsLSSUBL(plssubl)) return lserrInvalidParameter;
  14. if (plssubl->plsc->lsstate != LsStateEnumerating) return lserrContextInUse;
  15. return EnumSublineCore(plssubl, fReverseOrder, fGeometryNeeded, pptorg, 0);
  16. }