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.
 
 
 
 
 
 

38 lines
978 B

#ifndef DNUTILS_DEFINED
#define DNUTILS_DEFINED
#include "lsdefs.h"
#include "plsdnode.h"
#include "objdim.h"
#include "lscbk.h"
#include "plsiocon.h"
#include "pqheap.h"
/* ROUTINES ---------------------------------------------------------------------------*/
LSERR FindListDims(PLSDNODE, PLSDNODE, OBJDIM*);
void FindListDup(PLSDNODE, LSCP, long*);
void FindListFinalPenMovement(PLSDNODE plsdnFirst, PLSDNODE plsdnLast, long *pdur, long *pdvr, long *pdvp);
LSERR DestroyDnodeList(LSCBK*, POLS, PLSIOBJCONTEXT, PLSDNODE plsdn, BOOL fDontReleaseRuns);
long DurBorderFromDnodeInside(PLSDNODE plsdn); /* IN: dnode inside borders */
BOOL FSpacesOnly(PLSDNODE plsdn, DWORD iObjText);
#define MovePointBack(ptpen, dur, dvr) \
(ptpen)->u -= (dur); \
(ptpen)->v -= (dvr);
#define GetPointBeforeDnodeFromPointAfter(pnode, ptpen) \
MovePointBack(ptpen, DurFromDnode(pnode), DvrFromDnode(pnode));
#endif /* DNUTILS_DEFINED */