Source code of Windows XP (NT5)
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.

40 lines
2.3 KiB

  1. /**INC+**********************************************************************/
  2. /* */
  3. /* ndcgmcro.h */
  4. /* */
  5. /* DC-Groupware common macros - Windows NT specific header. */
  6. /* */
  7. /* Copyright(c) Microsoft 1996-1997 */
  8. /* */
  9. /****************************************************************************/
  10. /* Changes: */
  11. /* */
  12. // $Log: Y:/logs/h/dcl/NDCGMCRO.H_v $
  13. //
  14. // Rev 1.4 23 Jul 1997 10:48:02 mr
  15. // SFR1079: Merged \server\h duplicates to \h\dcl
  16. //
  17. // Rev 1.1 19 Jun 1997 21:53:36 OBK
  18. // SFR0000: Start of RNS codebase
  19. /* */
  20. /**INC-**********************************************************************/
  21. #ifndef _H_NDCGMCRO
  22. #define _H_NDCGMCRO
  23. /****************************************************************************/
  24. /* */
  25. /* MACROS */
  26. /* */
  27. /****************************************************************************/
  28. /****************************************************************************/
  29. /* FIELDSIZE macro. */
  30. /****************************************************************************/
  31. #define FIELDSIZE(type, field) (sizeof(((type *)1)->field))
  32. /****************************************************************************/
  33. /* FIELDOFFSET macro. */
  34. /****************************************************************************/
  35. #define FIELDOFFSET(type, field) ((ULONG_PTR)(&((type *)0)->field))
  36. #endif /* _H_NDCGMCRO */