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.

71 lines
1.8 KiB

  1. #define DEFAULT_SCHEMA_CLASS_A "IIsObject"
  2. #define DEFAULT_SCHEMA_CLASS_W L"IIsObject"
  3. #define COMPUTER_CLASS_A "IIsComputer"
  4. #define COMPUTER_CLASS_W L"IIsComputer"
  5. typedef struct _Prop
  6. {
  7. LPWSTR szPropertyName;
  8. BSTR bstrOID;
  9. BSTR bstrSyntax;
  10. long lMaxRange;
  11. long lMinRange;
  12. BOOL fMultiValued;
  13. DWORD dwFlags;
  14. DWORD dwInfoLevel;
  15. DWORD dwSyntaxId;
  16. DWORD dwMetaID;
  17. DWORD dwPropID; // Property id. usually the same as the meta id, unless a bitmasked prop
  18. DWORD dwMask; // For flags.
  19. DWORD dwMetaFlags; // Metabase flags (inherit, etc.)
  20. DWORD dwUserGroup;
  21. DWORD dwDefault;
  22. LPTSTR szDefault;
  23. } PROPERTYINFO, *PPROPERTYINFO, *LPPROPERTYINFO;
  24. typedef struct _ClassInfo
  25. {
  26. LPWSTR bstrName;
  27. const GUID *pCLSID;
  28. const GUID *pPrimaryInterfaceGUID;
  29. BSTR bstrOID;
  30. BOOL fAbstract;
  31. BSTR bstrMandatoryProperties;
  32. BSTR bstrOptionalProperties;
  33. BSTR bstrPossSuperiors;
  34. BSTR bstrContainment;
  35. BOOL fContainer;
  36. BSTR bstrHelpFileName;
  37. long lHelpFileContext;
  38. // PROPERTYINFO *aPropertyInfo;
  39. // DWORD cPropertyInfo;
  40. } CLASSINFO, *PCLASSINFO;
  41. typedef struct _SyntaxInfo
  42. {
  43. BSTR bstrName;
  44. DWORD dwIISSyntaxId;
  45. long lOleAutoDataType;
  46. } SYNTAXINFO;
  47. typedef struct _SchemaObjProps {
  48. WCHAR szObjectName[MAX_PATH];
  49. DWORD dwSyntaxId;
  50. DWORD dwID;
  51. } SCHEMAOBJPROPS, *PSCHEMAOBJPROPS;
  52. extern DWORD g_cIISClasses;
  53. extern CLASSINFO g_aIISClasses[];
  54. extern DWORD g_cIISSyntax;
  55. extern SYNTAXINFO g_aIISSyntax[];
  56. extern DWORD g_cPropertyObjProps;
  57. extern SCHEMAOBJPROPS g_pPropertyObjProps[];
  58. extern DWORD g_cClassObjProps;
  59. extern SCHEMAOBJPROPS g_pClassObjProps[];