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.

26 lines
606 B

  1. #include "priv.h"
  2. #define ASSERTDATA
  3. /* Macro to compute a back pointer to a containing class given a
  4. pointer to a member, the member name, and the containing class type.
  5. This generates no code because it results in a constant offset.
  6. Note: this is taken from mso96 dll code. */
  7. #define BACK_POINTER(p, m, c) \
  8. ((c *) (void *) (((char *) (void *) (p)) - (char *) (&((c *) 0)->m)))
  9. #ifdef DEBUG
  10. #define Debug(e) e
  11. #define DebugElse(s, t) s
  12. #else
  13. #define Debug(e)
  14. #define DebugElse(s, t) t
  15. #endif
  16. #include "bcw.cpp"
  17. IBindCtx * BCW_Create(IBindCtx* pibc)
  18. {
  19. return BCW::Create(pibc);
  20. }