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.
 
 
 
 
 
 

63 lines
1.1 KiB

#ifndef __NEXUS_H
#define __NEXUS_H
#include <msxml.h>
#if defined(UNICODE) || defined(_UNICODE)
#define CCDUpdated CCDUpdatedW
#else
#define CCDUpdated CCDUpdatedA
#endif
class ICCDUpdate
{
public:
virtual void CCDUpdatedA(LPCSTR pszCCDName, IXMLDocument* piXMLDocument) = 0;
virtual void CCDUpdatedW(LPCWSTR pszCCDName, IXMLDocument* piXMLDocument) = 0;
};
class IConfigurationUpdate
{
public:
virtual void LocalConfigurationUpdated(void) = 0;
};
#ifdef __cplusplus
extern "C" {
#endif
HANDLE WINAPI
RegisterCCDUpdateNotification(
LPCTSTR pszCCDName,
ICCDUpdate* piCCDUpdate
);
BOOL WINAPI
UnregisterCCDUpdateNotification(
HANDLE hNotificationHandle
);
HANDLE WINAPI
RegisterConfigChangeNotification(
IConfigurationUpdate* piConfigUpdate
);
BOOL WINAPI
UnregisterConfigChangeNotification(
HANDLE hNotificationHandle
);
BOOL WINAPI
GetCCD(
LPCTSTR pszCCDName,
IXMLDocument** ppiStream,
BOOL bForceFetch
);
#ifdef __cplusplus
}
#endif
#endif // __NEXUS_H