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.
 
 
 
 
 
 

66 lines
1.1 KiB

#ifndef __DOMAIN_CONTROLLER_SUPPORT__
#define __DOMAIN_CONTROLLER_SUPPORT__
#include <ole2.h>
#include <activeds.h>
DFSSTATUS
DfsDcInit(
PBOOLEAN pIsDc );
DWORD
DcUpdateLoop(
LPVOID lpThreadParams);
DFSSTATUS
GetDomainInformation(
DfsDomainInformation **ppDomainInfo );
DFSSTATUS
DfsGenerateReferralDataFromRemoteServerNames(
LPWSTR RootName,
DfsReferralData **pReferralData );
DFSSTATUS
DfsUpdateRemoteServerName(
IADs *pObject,
LPWSTR ServerName,
LPWSTR RemainingName,
BOOLEAN Add );
DFSSTATUS
DfsUpdateRootRemoteServerName(
LPWSTR Root,
LPWSTR DcName,
LPWSTR ServerName,
LPWSTR RemainingName,
BOOLEAN Add );
DFSSTATUS
DfsDcEnumerateRoots(
LPWSTR DfsName,
LPBYTE pBuffer,
ULONG BufferSize,
PULONG pEntriesRead,
DWORD MaxEntriesToRead,
LPDWORD pResumeHandle,
PULONG pSizeRequired );
BOOLEAN
DfsIsSpecialDomainShare(
PUNICODE_STRING pShareName );
DFSSTATUS
DfsIsRemoteServerNameEqual(
LPWSTR RootName,
PUNICODE_STRING pServerName,
PBOOLEAN pIsEqual);
#endif //__DOMAIN_CONTROLLER_SUPPORT__