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.

54 lines
1.4 KiB

  1. #include "dfswml.h"
  2. WML_CONTROL_GUID_REG _DfsDrv_ControlGuids[] = {
  3. { //d920eeb7-08b4-4ceb-bdc8-2d56660e8187 Debug control guid
  4. 0xd920eeb7, 0x08b4, 0x4ceb,
  5. { 0xbd, 0xc8, 0x2d, 0x56, 0x66, 0x0e, 0x81, 0x87 },
  6. // 3 trace guids per control guid.
  7. {
  8. {// e3f1c64a-1a24-494b-8d47-ac37ad623342
  9. 0xe3f1c64a, 0x1a24, 0x494b,
  10. { 0x8d, 0x47, 0xac, 0x37, 0xad, 0x62, 0x33, 0x42 },
  11. },
  12. { // c093f7a7-c2ff-47aa-ba7e-42b9ed3f621e
  13. 0xc093f7a7, 0xc2ff, 0x47aa,
  14. { 0xba, 0x7e, 0x42, 0xb9, 0xed, 0x3f, 0x62, 0x1e },
  15. },
  16. { // 4ed36891-4175-48d2-a209-aad889fa225a
  17. 0x4ed36891, 0x4175, 0x48d2,
  18. { 0xa2, 0x09, 0xaa, 0xd8, 0x89, 0xfa, 0x22, 0x5a },
  19. }
  20. },
  21. }
  22. };
  23. ULONG called = 0;
  24. NTSTATUS
  25. DfsDrvWmiDispatch(
  26. IN PDEVICE_OBJECT pDeviceObject,
  27. IN PIRP pIrp
  28. )
  29. {
  30. WML_TINY_INFO Info;
  31. NTSTATUS Status;
  32. UNICODE_STRING RegPath;
  33. called = 1;
  34. RtlInitUnicodeString (&RegPath, L"Dfs");
  35. RtlZeroMemory (&Info, sizeof(Info));
  36. Info.ControlGuids = _DfsDrv_ControlGuids;
  37. Info.GuidCount = sizeof(_DfsDrv_ControlGuids) / sizeof(WML_CONTROL_GUID_REG);
  38. Info.DriverRegPath = &RegPath;
  39. Status = WmlTinySystemControl (&Info, pDeviceObject, pIrp);
  40. return Status;
  41. }