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.

53 lines
1.2 KiB

  1. /*++
  2. Copyright (c) 1989-1997 Microsoft Corporation
  3. Module Name:
  4. ifsmrxnp.h
  5. Abstract:
  6. This module includes all network provider router interface related
  7. definitions for the sample
  8. Notes:
  9. This module has been built and tested only in UNICODE environment
  10. --*/
  11. #ifndef _IFSMRXNP_H_
  12. #define _IFSMRXNP_H_
  13. #define IFSMRXNP_DEBUG_CALL 0x1
  14. #define IFSMRXNP_DEBUG_ERROR 0x2
  15. #define IFSMRXNP_DEBUG_INFO 0x4
  16. extern DWORD IfsMRxNpDebugLevel;
  17. #define TRACE_CALL(Args) \
  18. if (IfsMRxNpDebugLevel & IFSMRXNP_DEBUG_CALL) { \
  19. DbgPrint##Args; \
  20. }
  21. #define TRACE_ERROR(Args) \
  22. if (IfsMRxNpDebugLevel & IFSMRXNP_DEBUG_ERROR) { \
  23. DbgPrint##Args; \
  24. }
  25. #define TRACE_INFO(Args) \
  26. if (IfsMRxNpDebugLevel & IFSMRXNP_DEBUG_INFO) { \
  27. DbgPrint##Args; \
  28. }
  29. typedef struct _IFSMRXNP_ENUMERATION_HANDLE_ {
  30. INT LastIndex;
  31. } IFSMRXNP_ENUMERATION_HANDLE,
  32. *PIFSMRXNP_ENUMERATION_HANDLE;
  33. extern BOOL InitializeSharedMemory();
  34. extern VOID UninitializeSharedMemory();
  35. #endif
  36.