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.

85 lines
1.5 KiB

  1. /*
  2. *
  3. * actdbg.h
  4. *
  5. * Global definitions.
  6. *
  7. */
  8. #ifndef __ACTDBG_H__
  9. #define __ACTDBG_H__
  10. #define OLESCM
  11. extern "C" {
  12. #include <nt.h>
  13. #include <ntdef.h>
  14. #include <ntrtl.h>
  15. #include <nturtl.h>
  16. #include <windows.h>
  17. #include <rpc.h>
  18. #include <ole2.h>
  19. #include <ntsdexts.h>
  20. }
  21. // ole32\idl\internal, ole32\idl\public
  22. extern "C" {
  23. #include "iface.h"
  24. #include "obase.h"
  25. #include "irot.h"
  26. #include "multqi.h"
  27. #include "scm.h"
  28. }
  29. // objex forward/dummy defs
  30. class CList;
  31. class CToken;
  32. class CProcess;
  33. class CServerSet;
  34. class CServerOxid;
  35. class CServerOid;
  36. class CClientSet;
  37. class CClientOxid;
  38. class CClientOid;
  39. extern CList * gpTokenList;
  40. #define private public
  41. #define protected public
  42. // objex
  43. #include <or.hxx>
  44. // olescm forward defs
  45. class CClassData;
  46. class CClsidData;
  47. #define GUIDSTR_MAX (1+ 8 + 1 + 4 + 1 + 4 + 1 + 4 + 1 + 12 + 1 + 1)
  48. // olescm
  49. #include "act.hxx"
  50. // actdbg
  51. #include "dump.hxx"
  52. #include "memory.hxx"
  53. #include "miscdbg.hxx"
  54. #define APIPREAMBLE \
  55. PNTSD_OUTPUT_ROUTINE pfnPrint; \
  56. DWORD Argc; \
  57. char * Argv[MAXARGS]; \
  58. BOOL bStatus; \
  59. \
  60. pfnPrint = pExtApis->lpOutputRoutine; \
  61. bStatus = ParseArgString( pArgString, &Argc, Argv ); \
  62. if ( ! bStatus ) \
  63. { \
  64. (*pfnPrint)("Sorry, ParseArgString failed; cannot continue with command\n"); \
  65. return; \
  66. }
  67. #define Alloc( Bytes ) HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, Bytes)
  68. #define Free( pVoid ) HeapFree(GetProcessHeap(), 0, pVoid)
  69. #pragma hdrstop
  70. #endif