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.

51 lines
1.6 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (C) Microsoft Corporation, 1997 - 1999
  6. //
  7. // File: drt.hxx
  8. //
  9. //--------------------------------------------------------------------------
  10. #include "rpc.h"
  11. #include "rpcnsi.h"
  12. #include "stdio.h"
  13. #include "stdlib.h"
  14. // the main characters in our story for the time being.
  15. WCHAR *szSrvEntryName[] = {L"/.:/drtsrv_01", L"/.:/drtsrv_02",
  16. L"/.:/drtsrv_03", L"/.:/drtsrv_04"};
  17. WCHAR *szGrpEntryName[] = {L"/.:/drtgrp_01", L"/.:/drtgrp_02",
  18. L"/.:/drtgrp_03", L"/.:/drtgrp_04"};
  19. WCHAR *szPrfEntryName[] = {L"/.:/drtprf1_01", L"/.:/drtprf1_02",
  20. L"/.:/drtprf1_03", L"/.:/drtprf1_04"};
  21. WCHAR szDynSrvEntryName[] = {L"/.:/drtdynsrv_01"};
  22. GUID ifid[] = { { 0xabcdefa1, 0xabcd, 0xabcd, { 0xab, 0xcd, 0xab, 0xcd, 0xef, 0xab, 0xcd, 0xef } },
  23. { 0xabcdefa2, 0xabcd, 0xabcd, { 0xab, 0xcd, 0xab, 0xcd, 0xef, 0xab, 0xcd, 0xef } },
  24. { 0xabcdefa3, 0xabcd, 0xabcd, { 0xab, 0xcd, 0xab, 0xcd, 0xef, 0xab, 0xcd, 0xef } }
  25. };
  26. GUID objid[] = { { 0xfedcbaa1, 0xabcd, 0xabcd, { 0xab, 0xcd, 0xab, 0xcd, 0xef, 0xab, 0xcd, 0xef } },
  27. { 0xfedcbaa2, 0xabcd, 0xabcd, { 0xab, 0xcd, 0xab, 0xcd, 0xef, 0xab, 0xcd, 0xef } }
  28. };
  29. WCHAR *Bindings[] = { L"ncacn_ip_tcp",
  30. L"ncacn_ip_tcp"
  31. };
  32. void FormIfHandle(GUID ifid, RPC_IF_HANDLE *IfSpec);
  33. void FormBindingVector(WCHAR **Binding, ULONG num, RPC_BINDING_VECTOR **BindVec);
  34. void FormObjUuid(GUID *pguid, ULONG num, UUID_VECTOR **objuuid);
  35.