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.

26 lines
713 B

  1. #ifndef IOBJ_DEFINED
  2. #define IOBJ_DEFINED
  3. #include "lsdefs.h"
  4. #include "lsimeth.h"
  5. #include "lsdocinf.h"
  6. #include "plsiocon.h"
  7. #include "lsiocon.h"
  8. #define IobjTextFromLsc(plsiobjcontext) ((plsiobjcontext)->iobjMac - 2)
  9. #define IobjAutonumFromLsc(plsiobjcontext) ((plsiobjcontext)->iobjMac - 1)
  10. #define FIobjValid(plsiobjcontext,iobj) (iobj < (plsiobjcontext)->iobjMac)
  11. #define PilsobjFromLsc(plsiobjcontext,iobj) ( Assert(FIobjValid((plsiobjcontext),(iobj))),\
  12. (plsiobjcontext)->rgobj[iobj].pilsobj)
  13. #define PLsimFromLsc(plsiobjcontext,iobj) ( Assert(FIobjValid((plsiobjcontext),(iobj))),\
  14. &((plsiobjcontext)->rgobj[iobj].lsim))
  15. #endif /* IOBJ_DEFINED */