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.

38 lines
1.5 KiB

  1. //
  2. // catutil.h
  3. //
  4. #ifndef CATUTIL_H
  5. #define CATUTIL_H
  6. #include "private.h"
  7. #include "immxutil.h"
  8. BOOL IsEqualTFGUIDATOM(LIBTHREAD *plt, TfGuidAtom guidatom, REFGUID rguid);
  9. BOOL GetGUIDFromGUIDATOM(LIBTHREAD *plt, TfGuidAtom guidatom, GUID *pguid);
  10. BOOL GetGUIDATOMFromGUID(LIBTHREAD *plt, REFGUID rguid, TfGuidAtom *pguidatom);
  11. HRESULT LibEnumCategoriesInItem(LIBTHREAD *plt, REFGUID rguid, IEnumGUID **ppEnum);
  12. HRESULT LibEnumItemsInCategory(LIBTHREAD *plt, REFGUID rcatid, IEnumGUID **ppEnum);
  13. HRESULT RegisterGUIDDescription(REFCLSID rclsid, REFGUID rcatid, WCHAR *pszDesc);
  14. HRESULT UnregisterGUIDDescription(REFCLSID rclsid, REFGUID rcatid);
  15. HRESULT GetGUIDDescription(LIBTHREAD *plt, REFCLSID rclsid, BSTR *pbstr);
  16. HRESULT RegisterGUIDDWORD(REFCLSID rclsid, REFGUID rcatid, DWORD dw);
  17. HRESULT UnregisterGUIDDWORD(REFCLSID rclsid, REFGUID rcatid);
  18. HRESULT GetGUIDDWORD(LIBTHREAD *plt, REFCLSID rclsid, DWORD*pdw);
  19. HRESULT RegisterCategory(REFCLSID rclsid, REFGUID rcatid, REFGUID rguid);
  20. HRESULT UnregisterCategory(REFCLSID rclsid, REFGUID rcatid, REFGUID rguid);
  21. typedef struct tagREGISTERCAT {
  22. const GUID *pcatid;
  23. const GUID *pguid;
  24. } REGISTERCAT;
  25. HRESULT RegisterCategories(REFCLSID rclsid, const REGISTERCAT *pregcat);
  26. HRESULT UnregisterCategories(REFCLSID rclsid, const REGISTERCAT *pregcat);
  27. HRESULT GetKnownModeBias(LIBTHREAD *plt, TfGuidAtom guidatom, GUID *pcatid, const GUID **ppcatidList, ULONG ulCount);
  28. #endif