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.

32 lines
645 B

  1. #include <ntos.h>
  2. #include <ntrtl.h>
  3. #include <nturtl.h>
  4. #include <dfsfsctl.h>
  5. #include <windows.h>
  6. #include "wmlum.h"
  7. #include "wmlmacro.h"
  8. #include "dfsmwml.h"
  9. WMILIB_REG_STRUCT DfsRtlWmiReg;
  10. GUID DfsmRtlTraceGuid = { // b9b7bc53-16c8-46e6-b486-6d6172b1ae78
  11. 0xb9b7bc53,0x16c8,0x46e6,
  12. {0xb4,0x86,0x6d,0x61,0x72,0xb1,0xae,0x78}
  13. };
  14. WML_DATA wml;
  15. void print(UINT level, PCHAR str) {
  16. //DbgPrint(str);
  17. return;
  18. }
  19. void DfsInitWml()
  20. {
  21. NTSTATUS status;
  22. LOADWML(status, wml);
  23. status = wml.Initialize(L"DFS Service", print, &wml.WmiRegHandle,
  24. L"DFS Service", &DfsRtlWmiReg,
  25. 0);
  26. }