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
3.1 KiB

  1. cpp_quote ("/*++")
  2. cpp_quote(" ")
  3. cpp_quote("Copyright (c) 1997 Microsoft Corporation")
  4. cpp_quote(" ")
  5. cpp_quote("Module Name: mddef.h")
  6. cpp_quote(" ")
  7. cpp_quote(" Definitions for Admin Objects and Metadata")
  8. cpp_quote(" ")
  9. cpp_quote ("--*/")
  10. cpp_quote("#ifndef _MD_DEF_")
  11. cpp_quote("#define _MD_DEF_")
  12. import "unknwn.idl";
  13. import "wtypes.idl";
  14. import "mddefw.idl";
  15. cpp_quote("/* ")
  16. cpp_quote(" Change Object - The structure passed to ComMDSinkNotify. ")
  17. cpp_quote(" ")
  18. cpp_quote(" Path - The path of the MetaObject modified. ")
  19. cpp_quote(" ")
  20. cpp_quote(" ChangeType - The types of changes made, from the flags below. ")
  21. cpp_quote(" ")
  22. cpp_quote(" NumDataIDs - The number of data id's changed. ")
  23. cpp_quote(" ")
  24. cpp_quote(" DataIDs - An array of the data id's changed. ")
  25. cpp_quote("*/ ")
  26. cpp_quote("#undef MD_CHANGE_OBJECT ")
  27. cpp_quote("#undef PMD_CHANGE_OBJECT ")
  28. cpp_quote(" ")
  29. cpp_quote("#ifdef UNICODE ")
  30. cpp_quote("#define MD_CHANGE_OBJECT MD_CHANGE_OBJECT_W ")
  31. cpp_quote("#define PMD_CHANGE_OBJECT PMD_CHANGE_OBJECT_W ")
  32. cpp_quote("#else //UNICODE ")
  33. cpp_quote("#define MD_CHANGE_OBJECT MD_CHANGE_OBJECT_A ")
  34. cpp_quote("#define PMD_CHANGE_OBJECT PMD_CHANGE_OBJECT_A ")
  35. cpp_quote("#endif //UNICODE ")
  36. cpp_quote(" ")
  37. typedef struct _MD_CHANGE_OBJECT_A {
  38. [string] unsigned char *pszMDPath;
  39. DWORD dwMDChangeType; // The type of the change (add, delete, modify)
  40. DWORD dwMDNumDataIDs;
  41. [unique, size_is(dwMDNumDataIDs)] DWORD *pdwMDDataIDs;
  42. } MD_CHANGE_OBJECT_A, *PMD_CHANGE_OBJECT_A;
  43. cpp_quote("#endif")