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.

63 lines
1.0 KiB

  1. #ifndef __NEXUS_H
  2. #define __NEXUS_H
  3. #include <msxml.h>
  4. #if defined(UNICODE) || defined(_UNICODE)
  5. #define CCDUpdated CCDUpdatedW
  6. #else
  7. #define CCDUpdated CCDUpdatedA
  8. #endif
  9. class ICCDUpdate
  10. {
  11. public:
  12. virtual void CCDUpdatedA(LPCSTR pszCCDName, IXMLDocument* piXMLDocument) = 0;
  13. virtual void CCDUpdatedW(LPCWSTR pszCCDName, IXMLDocument* piXMLDocument) = 0;
  14. };
  15. class IConfigurationUpdate
  16. {
  17. public:
  18. virtual void LocalConfigurationUpdated(void) = 0;
  19. };
  20. #ifdef __cplusplus
  21. extern "C" {
  22. #endif
  23. HANDLE WINAPI
  24. RegisterCCDUpdateNotification(
  25. LPCTSTR pszCCDName,
  26. ICCDUpdate* piCCDUpdate
  27. );
  28. BOOL WINAPI
  29. UnregisterCCDUpdateNotification(
  30. HANDLE hNotificationHandle
  31. );
  32. HANDLE WINAPI
  33. RegisterConfigChangeNotification(
  34. IConfigurationUpdate* piConfigUpdate
  35. );
  36. BOOL WINAPI
  37. UnregisterConfigChangeNotification(
  38. HANDLE hNotificationHandle
  39. );
  40. BOOL WINAPI
  41. GetCCD(
  42. LPCTSTR pszCCDName,
  43. IXMLDocument** ppiStream,
  44. BOOL bForceFetch
  45. );
  46. #ifdef __cplusplus
  47. }
  48. #endif
  49. #endif // __NEXUS_H